Skip to content

Commit

Permalink
fix: next-themes error
Browse files Browse the repository at this point in the history
  • Loading branch information
SrIzan10 authored Dec 14, 2024
1 parent a2acb12 commit 155857c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/providers/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import * as React from "react"
import { ThemeProvider as NextThemesProvider } from "next-themes"
import { type ThemeProviderProps } from "next-themes/dist/types"
import { type ThemeProviderProps } from "next-themes"

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

0 comments on commit 155857c

Please sign in to comment.