mirror of
https://github.com/usememos/memos.git
synced 2025-04-02 20:10:45 +02:00
chore: tweak default avatar
This commit is contained in:
parent
15be18fa85
commit
115b5551b3
@ -18,7 +18,7 @@ const UserBanner = (props: Props) => {
|
|||||||
const { systemStatus } = globalStore.state;
|
const { systemStatus } = globalStore.state;
|
||||||
const user = useCurrentUser();
|
const user = useCurrentUser();
|
||||||
const title = user ? user.nickname || user.username : systemStatus.customizedProfile.name || "memos";
|
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 () => {
|
const handleSignOut = async () => {
|
||||||
await authServiceClient.signOut({});
|
await authServiceClient.signOut({});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user