refactor: split theme file

This commit is contained in:
Sonny
2024-05-28 12:16:18 +02:00
committed by Sonny
parent 76847ff76b
commit f2478bcf56
10 changed files with 139 additions and 111 deletions

View File

@@ -7,7 +7,6 @@ import DarkThemeContextProvider from '~/contexts/dark_theme_context';
export default function BaseLayout({ children }: { children: ReactNode }) {
const { i18n } = useTranslation();
dayjs.locale(i18n.language);
console.log('a');
return (
<DarkThemeContextProvider key="a">
<ContextThemeProvider>{children}</ContextThemeProvider>