fix: Show the username in the drawer
This commit is contained in:
parent
d452088253
commit
8061535936
@ -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 />
|
||||||
|
Reference in New Issue
Block a user