diff --git a/app/layout.js b/app/layout.js index 82a1406..1188b57 100644 --- a/app/layout.js +++ b/app/layout.js @@ -1,6 +1,6 @@ "use client"; import { Inter } from "next/font/google"; -import React, { useEffect } from "react"; +import React,{Suspense} from "react"; import "./globals.css"; import BottomNav from "../components/BottomNav"; import { Provider } from "react-redux"; @@ -97,7 +97,7 @@ export default function RootLayout({ children }) {
- {withAuth({children})} + {withAuth({children})} {/* {children} */}