Rename SwrConfigClient

This commit is contained in:
Sam Becker 2024-04-27 12:50:03 -05:00
parent 29e8ed969c
commit 8ef0283822
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import { ThemeProvider } from 'next-themes';
import Nav from '@/site/Nav';
import Footer from '@/site/Footer';
import CommandK from '@/site/CommandK';
import SWRConfigClient from '../state/SWRConfigClient2';
import SwrConfigClient from '../state/SwrConfigClient';
import '../site/globals.css';
import '../site/sonner.css';
@ -73,7 +73,7 @@ export default function RootLayout({
>
<body className={ibmPlexMono.variable}>
<AppStateProvider>
<SWRConfigClient>
<SwrConfigClient>
<MoreComponentsProvider>
<ThemeProvider attribute="class">
<main className={clsx(
@ -92,7 +92,7 @@ export default function RootLayout({
<CommandK />
</ThemeProvider>
</MoreComponentsProvider>
</SWRConfigClient>
</SwrConfigClient>
<Analytics debug={false} />
<SpeedInsights debug={false} />
<PhotoEscapeHandler />

View File

@ -2,7 +2,7 @@
import { SWRConfig } from 'swr';
export default function SWRConfigClient({
export default function SwrConfigClient({
children,
}: {
children: React.ReactNode