From ba5fd4aa2a231271c804609d3ac98a66ffe7981c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 21 Apr 2022 18:27:36 -0500 Subject: [PATCH] Chats propTypes fixes --- app/soapbox/features/chats/components/chat_box.js | 2 +- app/soapbox/features/chats/components/chat_window.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/features/chats/components/chat_box.js b/app/soapbox/features/chats/components/chat_box.js index f9c169d45..fac4ae894 100644 --- a/app/soapbox/features/chats/components/chat_box.js +++ b/app/soapbox/features/chats/components/chat_box.js @@ -40,7 +40,7 @@ class ChatBox extends ImmutablePureComponent { intl: PropTypes.object.isRequired, chatId: PropTypes.string.isRequired, chatMessageIds: ImmutablePropTypes.orderedSet, - chat: ImmutablePropTypes.map, + chat: ImmutablePropTypes.record, onSetInputRef: PropTypes.func, me: PropTypes.node, } diff --git a/app/soapbox/features/chats/components/chat_window.js b/app/soapbox/features/chats/components/chat_window.js index 444658675..4d811fe15 100644 --- a/app/soapbox/features/chats/components/chat_window.js +++ b/app/soapbox/features/chats/components/chat_window.js @@ -46,7 +46,7 @@ class ChatWindow extends ImmutablePureComponent { chatId: PropTypes.string.isRequired, windowState: PropTypes.string.isRequired, idx: PropTypes.number, - chat: ImmutablePropTypes.map, + chat: ImmutablePropTypes.record, me: PropTypes.node, displayFqn: PropTypes.bool, }