Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 00:33:04 +00:00
co-authored by renee-png
parent 18545bc093
commit 225292af7f
3 changed files with 1 additions and 237 deletions
+1 -7
View File
@@ -2,7 +2,6 @@ import { useEffect, type ReactNode } from "react";
import { useNavigate } from "@tanstack/react-router";
import { useAuth } from "@/lib/auth";
import { AppShell } from "@/components/app-shell";
import { TimerWidget } from "@/components/timer/timer-widget";
import { Loader2 } from "lucide-react";
export function ProtectedLayout({ children, adminOnly }: { children: ReactNode; adminOnly?: boolean }) {
@@ -26,10 +25,5 @@ export function ProtectedLayout({ children, adminOnly }: { children: ReactNode;
);
}
return (
<AppShell>
{children}
<TimerWidget />
</AppShell>
);
return <AppShell>{children}</AppShell>;
}