feat(theme-components): use default exports
This commit is contained in:
parent
90f9edea95
commit
dcbcab3122
6 changed files with 13 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
'use client';
|
||||
import { ThemeProvider } from 'next-themes';
|
||||
|
||||
export const ThemeProviderComponent = ({
|
||||
const ThemeProviderComponent = ({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
|
@ -12,3 +12,5 @@ export const ThemeProviderComponent = ({
|
|||
</ThemeProvider>
|
||||
);
|
||||
};
|
||||
|
||||
export default ThemeProviderComponent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue