fix: linting
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 1m14s
Build & Deploy / 🏗️ Build (push) Failing after 4m44s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 1s

This commit is contained in:
2026-02-07 01:25:15 +01:00
parent 6f5c9bd613
commit d0d66dd85f
9 changed files with 43 additions and 31 deletions

View File

@@ -5,7 +5,6 @@ import "../globals.css";
import { NextIntlClientProvider } from "next-intl";
import { getMessages } from "next-intl/server";
import { notFound } from "next/navigation";
import { config } from "@/lib/config";
const inter = Inter({
subsets: ["latin"],
@@ -71,9 +70,9 @@ export default async function RootLayout({
params,
}: {
children: React.ReactNode;
params: Promise<{ locale: string }>;
params: { locale: string };
}) {
const { locale } = await params;
const { locale } = params;
// Validate that the incoming `locale` is supported
if (locale !== "de") {