feat: do final stress tests
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
2026-10-24 21:06:06 +02:00
parent e474ee2bc5
commit 072cda111c
14 changed files with 86 additions and 9 deletions
+9 -1
View File
@@ -40,7 +40,15 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="en">
// The language lives in localStorage, so the server can't know it; the inline script sets it before first paint
<html lang="en" suppressHydrationWarning>
<head>
<script
dangerouslySetInnerHTML={{
__html: `try{var l=localStorage.getItem('kooltap-lang');if(l==='en'||l==='nl')document.documentElement.lang=l}catch(e){}`,
}}
/>
</head>
<body className={inter.className}>
<Providers>{children}</Providers>
<Script