Skip to content

Commit 4992a33

Browse files
committed
refactor: reorganize imports in ThemeProvider component for clarity
1 parent 38a6cbf commit 4992a33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/theme-provider.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
"use client";
22

33
import * as React from "react";
4-
import { ThemeProvider as NextThemesProvider } from "next-themes";
5-
import { type ThemeProviderProps } from "next-themes/dist/types";
4+
import {
5+
ThemeProvider as NextThemesProvider,
6+
type ThemeProviderProps,
7+
} from "next-themes";
68

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

0 commit comments

Comments
 (0)