From 684f35d6484d14022143a063224a883547566945 Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Tue, 13 May 2025 09:10:41 +0330 Subject: [PATCH] add SWRConfig --- src/app/(withAuth)/(dashboardLayout)/layout.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/(withAuth)/(dashboardLayout)/layout.js b/src/app/(withAuth)/(dashboardLayout)/layout.js index 219cee2..181673f 100644 --- a/src/app/(withAuth)/(dashboardLayout)/layout.js +++ b/src/app/(withAuth)/(dashboardLayout)/layout.js @@ -1,13 +1,16 @@ import HeaderWithLogo from "@/components/layouts/dashboard/headerWithLogo"; import HeaderWithSidebar from "@/components/layouts/dashboard/headerWithSidebar"; import { Stack } from "@mui/material"; +import { SWRConfig } from "swr"; const Layout = ({ children }) => { return ( - - - {children} - + new Map() }}> + + + {children} + + ); }; export default Layout;