mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +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(() => {
|
useEffect(() => {
|
||||||
setTwoFactorActivated(user && user.twoFactorActivated);
|
setTwoFactorActivated(user && user.twoFactorActivated);
|
||||||
|
setAvatar(user && user.avatar);
|
||||||
}, [user]);
|
}, [user]);
|
||||||
|
|
||||||
return twoFactoring ? (
|
return twoFactoring ? (
|
||||||
|
|||||||
Reference in new issue
Block a user