feat(web): integrate session management and improve API error handling

This commit is contained in:
2026-03-11 17:19:14 +08:00
parent f1932676be
commit 168a5b5613
5 changed files with 88 additions and 76 deletions

View File

@@ -1,12 +1,10 @@
import { ReactNode } from "react";
import Sidebar from "@/components/sidebar";
import { ReactQueryProvider } from "@/components/query-provider";
import { SessionWatcher } from "@/components/session-watcher";
export default function DashboardLayout({ children }: { children: ReactNode }) {
return (
<div className="flex h-dvh bg-background">
<SessionWatcher />
<Sidebar />
{/* Main content */}