From f683dcfe0d08293279e18b7d470bdb6c8e5ead9e Mon Sep 17 00:00:00 2001 From: Aslam H Date: Mon, 9 Sep 2024 15:38:07 +0700 Subject: [PATCH] chore(layout): correct provider sequence --- web/app/layout.tsx | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/web/app/layout.tsx b/web/app/layout.tsx index 488b22b5..4a63cc2f 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -15,6 +15,20 @@ export const metadata: Metadata = { description: "Organize world's knowledge, explore connections and curate learning paths" } +const Providers = ({ children }: { children: React.ReactNode }) => ( + + + + + + {children} + + + + + +) + export default function RootLayout({ children }: Readonly<{ @@ -22,20 +36,12 @@ export default function RootLayout({ }>) { return ( - - - - - - - {children} - - - - - - - + + + {children} + + + ) }