Created
September 2, 2021 15:12
-
-
Save warodri-sendbird/f6170ebfc9a36c9f9f860a8d9f8e879d 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
return ( | |
<> | |
{initialized ? ( | |
currentUser ? ( | |
<Channels {...props} currentUser={currentUser} /> | |
) : ( | |
<Login {...props} onLogin={login} /> | |
) | |
) : ( | |
<View /> | |
)} | |
</> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment