Open Abdifatah-said opened 1 year ago
Hi there, did you solved this problem ?
no still i didnt solve it
In Provider.jsx wrap it with SessionProvider and in layout.js wrap body with Provider
just wrap like this:
<Provider>
<Nav/>
{children}
</Provider>
check your RootLayout component. it's in /app/layout.jsx file
<html lang="en">
<body>
<Provider>
<div className="main">
<div className="gradient"></div>
</div>
<main className="app">
<Nav />
{children}
</main>
</Provider>
</body>
</html>
check your RootLayout component. it's in /app/layout.jsx file
<html lang="en"> <body> <Provider> <div className="main"> <div className="gradient"></div> </div> <main className="app"> <Nav /> {children} </main> </Provider> </body> </html>
Yes This is right code
check your RootLayout component. it's in /app/layout.jsx file
<html lang="en"> <body> <Provider> <div className="main"> <div className="gradient"></div> </div> <main className="app"> <Nav /> {children} </main> </Provider> </body> </html>
Yes This is right code
This renders only
iam encountering this error, how should i fix it.
thank you.