chore(js): update coldwired and react

This commit is contained in:
Paul Chavard 2024-05-06 18:07:29 +02:00
parent 316a33f97b
commit 1e11ad4ce6
No known key found for this signature in database
24 changed files with 108 additions and 106 deletions

View file

@ -0,0 +1,12 @@
import { I18nProvider } from 'react-aria-components';
import { StrictMode, type ReactNode } from 'react';
export function Layout({ children }: { children: ReactNode }) {
const locale = document.documentElement.lang;
console.debug(`locale: ${locale}`);
return (
<I18nProvider locale={locale}>
<StrictMode>{children}</StrictMode>
</I18nProvider>
);
}