chore: tweak default avatar

This commit is contained in:
Steven 2024-03-14 09:11:57 +08:00
parent 15be18fa85
commit 115b5551b3

View File

@ -18,7 +18,7 @@ const UserBanner = (props: Props) => {
const { systemStatus } = globalStore.state;
const user = useCurrentUser();
const title = user ? user.nickname || user.username : systemStatus.customizedProfile.name || "memos";
const avatarUrl = user ? user.avatarUrl : systemStatus.customizedProfile.logoUrl;
const avatarUrl = user ? user.avatarUrl : "/full-logo.webp";
const handleSignOut = async () => {
await authServiceClient.signOut({});