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