Skip to content

Commit

Permalink
fix: welcome message with no name (#8588)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew authored Oct 30, 2024
1 parent 5f67dce commit c1dcbde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export const PersonalDashboard = () => {
const { trackEvent } = usePlausibleTracker();
const { setSplashSeen } = useSplashApi();
const { splash } = useAuthSplash();
const name = user?.name;
const name = user?.name || '';

usePageTitle(`Dashboard: ${name}`);
usePageTitle(name ? `Dashboard: ${name}` : 'Dashboard');

const { personalDashboard, refetch: refetchDashboard } =
usePersonalDashboard();
Expand Down

0 comments on commit c1dcbde

Please sign in to comment.