diff --git a/components/Chat/Chat.js b/components/Chat/Chat.js index 531128d1a..43876bb22 100644 --- a/components/Chat/Chat.js +++ b/components/Chat/Chat.js @@ -5,7 +5,7 @@ import { Channel, ChannelHeader, Chat as StreamChat, - MessageInputSmall, + MessageInput, MessageList, Thread, Window, @@ -36,14 +36,12 @@ export default function Chat(props = {}) { const { channelType, channelId } = props.streamChatChannel; const isLivestream = channelType === 'livestream'; - const { - getCurrentUserRoleForChatChannel, - streamChatRole, - } = useCurrentUserRoleForChatChannel({ - variables: { - channelId, - }, - }); + const { getCurrentUserRoleForChatChannel, streamChatRole } = + useCurrentUserRoleForChatChannel({ + variables: { + channelId, + }, + }); // Semantic shortcuts const connected = connectionStatus === CONNECTED; @@ -139,7 +137,7 @@ export default function Chat(props = {}) { )} - {authenticated && } + {authenticated && } {!authenticated && (