From 884e03b4c181b680675a361ba11ac51c749e74df Mon Sep 17 00:00:00 2001 From: f0x Date: Wed, 6 Nov 2024 14:04:35 +0100 Subject: [PATCH] fix html elements used for logout account-card --- web/source/settings/components/user-logout-card.tsx | 6 +++--- web/source/settings/lib/query/oauth/index.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/source/settings/components/user-logout-card.tsx b/web/source/settings/components/user-logout-card.tsx index f9acc9698..6a114f3b1 100644 --- a/web/source/settings/components/user-logout-card.tsx +++ b/web/source/settings/components/user-logout-card.tsx @@ -31,7 +31,7 @@ export default function UserLogoutCard() { if (isLoading) { return ; } - + if (!profile) { return ; } @@ -39,9 +39,9 @@ export default function UserLogoutCard() { return (
-

{profile.display_name?.length > 0 ? profile.display_name : profile.acct}

+ {profile.display_name.length > 0 ? profile.display_name : profile.acct} @{profile.username}@{instance?.account_domain} - + void logoutQuery()} href="#" aria-label="Log out" title="Log out" className="logout">