mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: welcome message with no name (#8588)
This commit is contained in:
parent
5f67dcefcd
commit
c1dcbde8d9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user