Created
July 12, 2020 22:39
-
-
Save jetaggart/e4bd8263eeb838fca616ecb8f0d3ed2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// frontend/src/App.js:45 | |
if (chatClient && channel) { | |
return ( | |
<div className="App"> | |
<Chat client={chatClient} theme={'messaging light'}> | |
<Channel channel={channel}> | |
<Window> | |
<ChannelHeader /> | |
<MessageList /> | |
<MessageInput /> | |
</Window> | |
<Thread /> | |
</Channel> | |
</Chat> | |
</div> | |
) | |
} else { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment