feat(web): add SessionWatcher component for session management and handle session expiration
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
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 */}
|
||||
|
||||
Reference in New Issue
Block a user