fix: handle case with no lang/uid for langswitcher and footer

This commit is contained in:
Christel Westerberg
2024-06-05 11:24:27 +02:00
parent 512738428e
commit b8982dacf4
5 changed files with 11 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ export default async function RootLayout({
languageSwitcher={languageSwitcher}
/>
{children}
<Footer />
<Footer lang={params.lang} />
</TrpcProvider>
</ServerIntlProvider>
<Script id="page-tracking">{`