diff --git a/src/components/app/Main.tsx b/src/components/app/Main.tsx index bbf6a07..211004d 100644 --- a/src/components/app/Main.tsx +++ b/src/components/app/Main.tsx @@ -16,7 +16,7 @@ const MainShell: React.FC = () => { }; }, [resetHeader]); - const { user, logout } = useAuth(); + const { logout } = useAuth(); const navigate = useNavigate(); const [hasActiveEvent, setHasActiveEvent] = useState(false); // header is already available above @@ -108,9 +108,6 @@ const MainShell: React.FC = () => {
-
- Hallo, {user?.name?.split(' ')[0] || 'Benutzer'} -
{showForm && ( @@ -58,7 +58,7 @@ const EventWizard: React.FC = ({ onComplete, onBackToOverview, <> - Zurück zur Übersicht + Zurück zum Dashboard {showForm && (