Skip to content

Commit

Permalink
🐛 Correção theme provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Nov 7, 2024
1 parent 84e0912 commit 25ec408
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/theme-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import * as React from 'react';

import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { type ThemeProviderProps } from 'next-themes/dist/types';

export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
export function ThemeProvider({ children, ...props }: any) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}

0 comments on commit 25ec408

Please sign in to comment.