mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 08:26:06 +08:00
修复设置头像
This commit is contained in:
parent
6c368f7ea7
commit
868452f13c
|
@ -98,6 +98,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
|
|||
|
||||
useEffect(() => {
|
||||
setTwoFactorActivated(user && user.twoFactorActivated);
|
||||
setAvatar(user && user.avatar);
|
||||
}, [user]);
|
||||
|
||||
return twoFactoring ? (
|
||||
|
|
Loading…
Reference in New Issue
Block a user