mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复设置头像
This commit is contained in:
1 parent
fb6a80e306
commit
bd35725b3c
1 file changed
+1
@@ -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