diff --git a/src/components/CardPreview.tsx b/src/components/CardPreview.tsx index e84ebcf94195..6dc8abfb80ef 100644 --- a/src/components/CardPreview.tsx +++ b/src/components/CardPreview.tsx @@ -22,7 +22,7 @@ function CardPreview({privatePersonalDetails, session}: CardPreviewProps) { const styles = useThemeStyles(); usePrivatePersonalDetails(); const {legalFirstName, legalLastName} = privatePersonalDetails ?? {}; - const cardHolder = legalFirstName && legalLastName ? `${legalFirstName} ${legalLastName}` : session?.email; + const cardHolder = legalFirstName && legalLastName ? `${legalFirstName} ${legalLastName}` : session?.email ?? ''; return (