mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-29 11:19:34 +08:00
修复设置头像
This commit is contained in:
parent
fb6a80e306
commit
bd35725b3c
|
@ -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 ? (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user