Spaces:
Runtime error
Runtime error
Download src/components/Providers.tsx from damndeepesh-dev/RippleWorkers: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/damndeepesh-dev/RippleWorkers/resolve/main/src/components/Providers.tsx
- Command line
-
hf download hf://spaces/damndeepesh-dev/RippleWorkers/src/components/Providers.tsx
-
curl -L -o Providers.tsx https://huggingface.co/spaces/damndeepesh-dev/RippleWorkers/resolve/main/src/components/Providers.tsx
423 Bytes
| "use client"; | |
| import { ThemeProvider } from "next-themes"; | |
| import { SessionProvider } from "next-auth/react"; | |
| export function Providers({ children }: { children: React.ReactNode }) { | |
| return ( | |
| <SessionProvider> | |
| <ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange> | |
| {children} | |
| </ThemeProvider> | |
| </SessionProvider> | |
| ); | |
| } | |