fix: lint and build
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 1m21s
Build & Deploy / 🏗️ Build (push) Failing after 4m36s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 2s

This commit is contained in:
2026-02-07 10:07:55 +01:00
parent fd8f068594
commit c2ced7185b
10 changed files with 169 additions and 138 deletions

View File

@@ -71,9 +71,9 @@ export default async function RootLayout({
params,
}: {
children: React.ReactNode;
params: { locale: string };
params: Promise<{ locale: string }>;
}) {
const { locale } = params;
const { locale } = await params;
// Validate that the incoming `locale` is supported
if (locale !== "de") {