Created
October 6, 2020 20:04
-
-
Save isaidspaghetti/bbdda55debe0915e340de2927978126f 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:29 | |
if (streamCredentials) { | |
return ( | |
<div> | |
<h2 className="app-title">Stream Custom Email Notifications</h2> | |
<div className="container"> | |
<StreamApp | |
className="stream-app" | |
apiKey={streamCredentials.apiKey} | |
token={streamCredentials.token} | |
appId={streamCredentials.appId} | |
> | |
<NotificationDropdown FeedGroup="notification" Group={Notification} /> | |
</StreamApp> | |
</div> | |
</div> | |
); | |
} else { | |
return <h1>Retrieving token...</h1>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment