diff --git a/src/App.tsx b/src/App.tsx index da74997..1a8dfd8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,7 +8,6 @@ import AppBar from 'material-ui/AppBar'; import Drawer from 'material-ui/Drawer'; import IconButton from 'material-ui/IconButton'; import { List, ListItem } from 'material-ui/List'; -import FlatButton from 'material-ui/FlatButton'; import Subheader from 'material-ui/Subheader'; import Divider from 'material-ui/Divider'; import ActionCode from 'material-ui/svg-icons/action/code'; @@ -103,8 +102,8 @@ class App extends React.Component { render() { const username = (this.props.credentials && this.props.credentials.value) ? - - : undefined; + this.props.credentials.value.credentials.email + : C.appName; return ( @@ -113,7 +112,6 @@ class App extends React.Component { } - iconElementRight={username} />
- {C.appName} + {username}