Files
GibSend/apps/web/src/app/(dashboard)/layout.tsx
KM Koushik f77a8829be Improve Self host setup (#30)
* Add self host setup

* Improve blunders

* Move to bull mq

* More changes

* Add example code for sending test emails
2024-06-24 08:21:37 +10:00

20 lines
498 B
TypeScript

import { DashboardProvider } from "~/providers/dashboard-provider";
import { NextAuthProvider } from "~/providers/next-auth";
import { DashboardLayout } from "./dasboard-layout";
export const dynamic = "force-static";
export default function AuthenticatedDashboardLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<NextAuthProvider>
<DashboardProvider>
<DashboardLayout>{children}</DashboardLayout>
</DashboardProvider>
</NextAuthProvider>
);
}