mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-26 00:46:07 +08:00
修复设置头像
This commit is contained in:
parent
6c368f7ea7
commit
868452f13c
|
@ -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