Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ export function useOnboardingSection() {
return name;
};

const greetingLine = !profileLoading ? (
const greetingLine = profileLoading ? null : (
<Typography variant="h3" sx={sectionTitleSx}>
{`${greeting}, ${profileDisplayName() || t('onboarding.guest')}!`}
</Typography>
) : null;
);

const body = (
<Box sx={{ mt: 2 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export function useHomePageCardTitle(
t,
props.titleKey ?? defaultTitleKey,
props.title,
) ?? t(defaultTitleKey as keyof typeof t)
) ??
getTranslatedTextWithFallback(t, defaultTitleKey, undefined) ??
defaultTitleKey
);
}
Loading