Skip to content

Commit 4b97da2

Browse files
Fix an import
1 parent 8cd3e50 commit 4b97da2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

frontend/src/providers/ThemeProvider.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
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 { ThemeProvider as NextThemesProvider, type ThemeProviderProps } from 'next-themes';
65

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

0 commit comments

Comments
 (0)