* Add self host setup * Improve blunders * Move to bull mq * More changes * Add example code for sending test emails
20 lines
498 B
TypeScript
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>
|
|
);
|
|
}
|