Abstract notif component for auth pages.

This commit is contained in:
Caleb
2017-10-26 20:15:54 -06:00
parent 01d7d61efb
commit 035b02bd24
3 changed files with 3 additions and 6 deletions

View File

@ -75,6 +75,7 @@ class App extends React.Component {
return (
<div>
<Notifs CustomComponent={Toast} />
{
React.createElement(backend.authComponent(), {
onLogin: this.handleLogin.bind(this),