fix: restore missing translations on 404 page

This commit is contained in:
2026-02-21 00:38:49 +01:00
parent 17a91e48e6
commit e95f7c6dd2

View File

@@ -81,7 +81,16 @@ export default async function Layout(props: {
}
// Pick only the namespaces required by client components to reduce the hydration payload size
const clientKeys = ['Footer', 'Navigation', 'Contact', 'Products', 'Team', 'Home'];
const clientKeys = [
'Footer',
'Navigation',
'Contact',
'Products',
'Team',
'Home',
'Error',
'StandardPage',
];
const clientMessages: Record<string, any> = {};
for (const key of clientKeys) {
if (messages[key]) {