Chats propTypes fixes

This commit is contained in:
Alex Gleason 2022-04-21 18:27:36 -05:00
parent 4047f796d1
commit ba5fd4aa2a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class ChatBox extends ImmutablePureComponent {
intl: PropTypes.object.isRequired, intl: PropTypes.object.isRequired,
chatId: PropTypes.string.isRequired, chatId: PropTypes.string.isRequired,
chatMessageIds: ImmutablePropTypes.orderedSet, chatMessageIds: ImmutablePropTypes.orderedSet,
chat: ImmutablePropTypes.map, chat: ImmutablePropTypes.record,
onSetInputRef: PropTypes.func, onSetInputRef: PropTypes.func,
me: PropTypes.node, me: PropTypes.node,
} }

View File

@ -46,7 +46,7 @@ class ChatWindow extends ImmutablePureComponent {
chatId: PropTypes.string.isRequired, chatId: PropTypes.string.isRequired,
windowState: PropTypes.string.isRequired, windowState: PropTypes.string.isRequired,
idx: PropTypes.number, idx: PropTypes.number,
chat: ImmutablePropTypes.map, chat: ImmutablePropTypes.record,
me: PropTypes.node, me: PropTypes.node,
displayFqn: PropTypes.bool, displayFqn: PropTypes.bool,
} }