mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 09:32:08 +01:00
- Add PlatformUser model with roles (SUPER_ADMIN, ADMIN, SUPPORT) - Implement platform authentication with NextAuth - Create platform dashboard showing companies, users, and sessions - Add platform API endpoints for company management - Update landing page with SaaS design - Include test improvements and accessibility updates
15 lines
238 B
TypeScript
15 lines
238 B
TypeScript
"use client";
|
|
|
|
import { SessionProvider } from "next-auth/react";
|
|
|
|
export default function PlatformLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<SessionProvider>
|
|
{children}
|
|
</SessionProvider>
|
|
);
|
|
} |