Изменен порядок авторизации
This commit is contained in:
@@ -85,6 +85,9 @@ export function UserPopover({anchorEl, onClose, open}) {
|
||||
}
|
||||
|
||||
function userDescriptor(user) {
|
||||
if(!user) {
|
||||
return null;
|
||||
}
|
||||
if (!user.name) {
|
||||
return (<Typography variant="subtitle1">Гость</Typography>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user