diff --git a/src/AppRoutes.tsx b/src/AppRoutes.tsx index 85665b7..0b2edda 100644 --- a/src/AppRoutes.tsx +++ b/src/AppRoutes.tsx @@ -169,8 +169,8 @@ const AppRoutes: React.FC = () => { )} - {/* Fallback route - use different NotFound pages based on auth state */} - : } /> + {/* Fallback route - authenticated users go to dashboard, unauthenticated see public 404 */} + : } /> ); diff --git a/src/pages/Header.tsx b/src/pages/Header.tsx index 2d0e9c8..93b0c21 100644 --- a/src/pages/Header.tsx +++ b/src/pages/Header.tsx @@ -7,6 +7,7 @@ import { Typography, IconButton, Box, + Chip, useTheme, Menu, MenuItem, @@ -126,6 +127,15 @@ const Header: React.FC = () => { + {isAuthenticated && bootstrapData?.onboarding?.next_step && bootstrapData.onboarding.next_step !== 'ready' && ( + navigate('/dashboard')} + sx={{ cursor: 'pointer', display: { xs: 'none', sm: 'flex' } }} + /> + )} {isAuthenticated && (