修复订阅执行日志输出

This commit is contained in:
whyour
2022-05-17 22:27:41 +08:00
parent 906a074634
commit 7f9c9f05b8
5 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
useEffect(() => {
setTwoFactorActivated(user && user.twoFactorActivated);
setAvatar(user && `/api/static/${user.avatar}`);
setAvatar(user.avatar && `/api/static/${user.avatar}`);
}, [user]);
return twoFactoring ? (