fix: handle case with no lang/uid for langswitcher and footer
This commit is contained in:
@@ -80,7 +80,7 @@ export default async function RootLayout({
|
||||
</head>
|
||||
<body className="theme-00Corecolours theme-X0Oldcorecolours">
|
||||
<LangPopup lang={params.lang} />
|
||||
<SkipToMainContent />
|
||||
<SkipToMainContent lang={params.lang} />
|
||||
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
|
||||
<Header lang={params.lang} languageSwitcher={languageSwitcher} />
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user