diff --git a/apps/web/src/components/Dashboard.tsx b/apps/web/src/components/Dashboard.tsx index 7d2bb5f1..b35b12b0 100644 --- a/apps/web/src/components/Dashboard.tsx +++ b/apps/web/src/components/Dashboard.tsx @@ -155,7 +155,7 @@ export default function Dashboard({ className={`fixed top-12 z-40 h-[calc(100dvh-3rem)] w-[calc(100vw-1.5rem)] transform transition-transform duration-300 ease-in-out md:relative md:top-0 md:h-full md:w-auto md:translate-x-0 ${isSideNavOpen ? "translate-x-0" : "-translate-x-full md:translate-x-0"} `} > diff --git a/apps/web/src/components/SideNavigation.tsx b/apps/web/src/components/SideNavigation.tsx index 7b9361dd..76a3bfe1 100644 --- a/apps/web/src/components/SideNavigation.tsx +++ b/apps/web/src/components/SideNavigation.tsx @@ -39,6 +39,7 @@ interface SideNavigationProps { } interface UserType { + displayName?: string | null | undefined; email?: string | null | undefined; image?: string | null | undefined; } @@ -206,7 +207,8 @@ export default function SideNavigation({
{avatarUrl ? ( - {email} + {displayName ?? email} )} diff --git a/apps/web/src/views/settings/AccountSettings.tsx b/apps/web/src/views/settings/AccountSettings.tsx index d291c646..e28abb76 100644 --- a/apps/web/src/views/settings/AccountSettings.tsx +++ b/apps/web/src/views/settings/AccountSettings.tsx @@ -37,6 +37,13 @@ export default function AccountSettings() {
+
+

+ {t`Email`} +

+

{data?.email}

+
+

{t`Language`}