Profil nicht gefunden
Für deinen Account existiert kein Profil. Bitte wende dich an einen Admin.
import { Inter } from "next/font/google"; import "./globals.css"; import { loadProfile } from "@/lib/auth/profile"; import { NavLinks } from "@/components/NavLinks"; import { LogoutButton } from "@/components/LogoutButton"; const inter = Inter({ subsets: ["latin"], variable: "--font-inter" }); export const metadata = { title: "Aushilfsfahrer", }; export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { const result = await loadProfile(); if (result.status === "missing-profile") { return (
Für deinen Account existiert kein Profil. Bitte wende dich an einen Admin.