diff --git a/apps/partner-sas/components/Menu/UserMenu/index.tsx b/apps/partner-sas/components/Menu/UserMenu/index.tsx index f6a5fe4d8..df24647c9 100644 --- a/apps/partner-sas/components/Menu/UserMenu/index.tsx +++ b/apps/partner-sas/components/Menu/UserMenu/index.tsx @@ -88,7 +88,7 @@ export function UserMenu({ isMobile = false }: { isMobile?: boolean }) { /> {isMobile ? null : ( - + {firstName ?? session.data?.user?.email} {/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */} {` ${lastName}`} @@ -162,7 +162,7 @@ function UserMenuContent({
{isMobile && ( -

+

{intl.formatMessage( { id: "partnerSas.mobileMenu.greeting", diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Overview/UserBaseInfo/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Overview/UserBaseInfo/index.tsx index 07413cfff..5b1e1cd70 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Overview/UserBaseInfo/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Overview/UserBaseInfo/index.tsx @@ -26,7 +26,7 @@ export default async function UserBaseInfo({ user }: UserBaseInfoProps) { />
-

+

{user.firstName} {user.lastName}

diff --git a/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx b/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx index 920334c70..f210f8fe2 100644 --- a/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx @@ -8,7 +8,7 @@ import Caption from "@scandic-hotels/design-system/Caption" import { Divider } from "@scandic-hotels/design-system/Divider" import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Link from "@scandic-hotels/design-system/OldDSLink" -import Subtitle from "@scandic-hotels/design-system/Subtitle" +import { Typography } from "@scandic-hotels/design-system/Typography" import { trpc } from "@scandic-hotels/trpc/client" import useLang from "@/hooks/useLang" @@ -47,12 +47,17 @@ export default function MyPagesMenuContent({