fix: linting warnings (#1069)

## Description

Cleaned up code that was being highlighted in the dev tools
This commit is contained in:
David Nguyen
2024-03-30 13:43:28 +08:00
committed by GitHub
parent 369357aadd
commit 81ee582f1c
8 changed files with 7 additions and 12 deletions

View File

@ -3,7 +3,7 @@
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { ThemeProviderProps } from 'next-themes/dist/types';
import type { ThemeProviderProps } from 'next-themes/dist/types';
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;