From 68493be36eba62793cd287a8941eaf877a8747c8 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sat, 31 May 2025 18:39:57 +0200 Subject: [PATCH] feat: redirect to not allowed page --- web/src/layout/AdminLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/layout/AdminLayout.tsx b/web/src/layout/AdminLayout.tsx index ba3af1b..96cefa9 100644 --- a/web/src/layout/AdminLayout.tsx +++ b/web/src/layout/AdminLayout.tsx @@ -33,7 +33,7 @@ const AdminLayout: FC = () => { } if (!profile?.isAdmin) { - return ; + return ; } return ;