fix: add AuthProvider to the login page layout
This commit is contained in:
parent
35ba0b2694
commit
188c5c0f40
1 changed files with 10 additions and 0 deletions
10
app/login/layout.tsx
Normal file
10
app/login/layout.tsx
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import React from "react";
|
||||||
|
import AuthProvider from "@/components/shared/providers/AuthProvider";
|
||||||
|
|
||||||
|
export default function AdminLayout({
|
||||||
|
children
|
||||||
|
}: {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}) {
|
||||||
|
return <AuthProvider>{children}</AuthProvider>;
|
||||||
|
}
|
Loading…
Reference in a new issue