fix(website): migration from old website

This commit is contained in:
iCrawl
2023-04-01 15:50:47 +02:00
parent 74a6d59ae9
commit e2f39ccc32
5 changed files with 54 additions and 1 deletions

View File

@@ -2,7 +2,15 @@
import { ThemeProvider } from 'next-themes';
import type { PropsWithChildren } from 'react';
import { ServiceWorker } from '~/components/ServiceWorker';
import { SystemThemeFallback } from '~/components/SystemThemeFallback';
export function Providers({ children }: PropsWithChildren) {
return <ThemeProvider attribute="class">{children}</ThemeProvider>;
return (
<>
<ThemeProvider attribute="class">{children}</ThemeProvider>
<ServiceWorker />
<SystemThemeFallback />
</>
);
}