fix: add AuthProvider to the login page layout

This commit is contained in:
Dorian Niemiec 2024-09-07 13:13:15 +02:00
parent 35ba0b2694
commit 188c5c0f40

10
app/login/layout.tsx Normal file
View 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>;
}