mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
refactor: split theme file
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user