From 01e99ae221288b8fa09f1d8aed0589e191bcafaa Mon Sep 17 00:00:00 2001 From: Nils Jacobsen Date: Fri, 26 Apr 2024 09:05:15 +0200 Subject: [PATCH] fix: check if defined --- inlang/source-code/website/src/pages/m/+Page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inlang/source-code/website/src/pages/m/+Page.tsx b/inlang/source-code/website/src/pages/m/+Page.tsx index 3cd49e6ee1..ad7db0616b 100644 --- a/inlang/source-code/website/src/pages/m/+Page.tsx +++ b/inlang/source-code/website/src/pages/m/+Page.tsx @@ -142,7 +142,7 @@ export default function Page(props: PageProps) { when={props.manifest.icon} fallback={
- {displayName()[0]} + {displayName()?.[0]}
} > @@ -356,7 +356,7 @@ export default function Page(props: PageProps) { "w-6 h-6 flex items-center justify-center text-background capitalize font-medium rounded-full m-0 bg-surface-900" } > - {props.manifest.publisherName[0]} + {props.manifest.publisherName?.[0]} } >