From f1c956a361539592d00836488181b69218798600 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sat, 5 Oct 2024 17:14:59 +0000 Subject: feature(web): Async validate JWT account and sign out the user if they no longer exist --- apps/web/app/dashboard/layout.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/app') diff --git a/apps/web/app/dashboard/layout.tsx b/apps/web/app/dashboard/layout.tsx index 23c379cb..b0ac1f7d 100644 --- a/apps/web/app/dashboard/layout.tsx +++ b/apps/web/app/dashboard/layout.tsx @@ -2,6 +2,7 @@ import MobileSidebar from "@/components/dashboard/sidebar/ModileSidebar"; import Sidebar from "@/components/dashboard/sidebar/Sidebar"; import DemoModeBanner from "@/components/DemoModeBanner"; import { Separator } from "@/components/ui/separator"; +import ValidAccountCheck from "@/components/utils/ValidAccountCheck"; import serverConfig from "@hoarder/shared/config"; @@ -14,6 +15,7 @@ export default async function Dashboard({ }>) { return (
+
-- cgit v1.2.3-70-g09d2