feat: start of perforamnce

This commit is contained in:
tresabhi committed 2025-01-06 20:31:21 -06:00
1 parent db4132f666
commit 7dfdf4c11b
13 files changed
+90 -50

No files matched your search

+5 -2
View File
@@ -7,8 +7,7 @@ const LocaleContext = createContext<{
localeRaw: string | undefined;
} | null>(null);
interface LocaleProviderProps {
locale: string | undefined;
interface LocaleProviderProps extends LocaleAcceptorProps {
children: ReactNode;
}
@@ -33,3 +32,7 @@ export function useLocale() {
return { locale: context.locale, strings };
}
export interface LocaleAcceptorProps {
locale: string | undefined;
}