Spaces:
Sleeping
Sleeping
File size: 554 Bytes
052672d 3ba9c0c 052672d c69ef3e 1b0e328 3ba9c0c f80b091 1b0e328 97e41aa 1b0e328 97e41aa f80b091 3ba9c0c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
'use client';
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { ThemeProviderProps } from 'next-themes/dist/types';
import { TooltipProvider } from '@/components/ui/Tooltip';
// import { ThemeToggle } from './ThemeToggle';
export function Providers({ children, ...props }: ThemeProviderProps) {
return (
<NextThemesProvider {...props} forcedTheme="dark">
<TooltipProvider>
{children}
{/* <ThemeToggle /> */}
</TooltipProvider>
</NextThemesProvider>
);
}
|