Implement frontend auth and user features - WIP

This commit is contained in:
Philipinho
2023-08-27 21:38:59 +01:00
parent 3e7c2de9a4
commit 54a748ced7
30 changed files with 765 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
"use client"
import dynamic from "next/dynamic";
import { UserProvider } from "@/features/user/user-provider";
const Shell = dynamic(() => import("./shell"), {
ssr: false,
});
export default function DashboardLayout({ children }: {
children: React.ReactNode
}) {
return (
<UserProvider>
<Shell>
{children}
</Shell>
</UserProvider>
);
}