mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
save: fixed ownership losing
This commit is contained in:
parent
112fe9c6b7
commit
b26073edef
7 changed files with 36 additions and 21 deletions
|
@ -8,15 +8,11 @@ type Props = {
|
|||
setMenuOpened: Function,
|
||||
};
|
||||
|
||||
const getUserName = name => name.split(' ')[0];
|
||||
|
||||
export const UserButton = ({
|
||||
setMenuOpened,
|
||||
user: {
|
||||
_id,
|
||||
// userdata: { name, photo },
|
||||
photo,
|
||||
name,
|
||||
first_name,
|
||||
}
|
||||
}: Props) => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue