mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed user description issue
This commit is contained in:
parent
a5a394c590
commit
57d803f4d8
1 changed files with 1 additions and 1 deletions
|
@ -17,5 +17,5 @@ export const useUserDescription = (user?: Partial<IUser>) => {
|
|||
return 'Юнит деактивирован';
|
||||
}
|
||||
|
||||
return randomPhrase;
|
||||
return user.description || randomPhrase;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue