fix: Show the username in the drawer

This commit is contained in:
Alexander Polynomdivision 2018-09-21 16:06:07 +02:00
parent d452088253
commit 8061535936

View File

@ -77,8 +77,8 @@ export default class Drawer extends React.Component<IProps> {
onOpen={this.openDrawer}> onOpen={this.openDrawer}>
<List component="nav"> <List component="nav">
<ListItem> <ListItem>
<Avatar alt="{Username}" style={{ width: 80, height: 80 }} src="https://avatarfiles.alphacoders.com/105/105250.jpg" /> <Avatar alt={this.props.user.username} style={{ width: 80, height: 80 }} src="https://avatarfiles.alphacoders.com/105/105250.jpg" />
<ListItemText primary={"{{ PLACEHOLDER }}"} /> <ListItemText primary={this.props.user.username} />
</ListItem> </ListItem>
<Divider /> <Divider />