From 188c5c0f40217c43556e26b6c8fc31055b470e98 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sat, 7 Sep 2024 13:13:15 +0200 Subject: [PATCH] fix: add AuthProvider to the login page layout --- app/login/layout.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/login/layout.tsx diff --git a/app/login/layout.tsx b/app/login/layout.tsx new file mode 100644 index 0000000..142e9f9 --- /dev/null +++ b/app/login/layout.tsx @@ -0,0 +1,10 @@ +import React from "react"; +import AuthProvider from "@/components/shared/providers/AuthProvider"; + +export default function AdminLayout({ + children +}: { + children: React.ReactNode; +}) { + return {children}; +}