From 047bb743afcd33ee9ace47365dd447f748055885 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 24 Apr 2024 20:44:22 -0500 Subject: [PATCH] Change phantom swr cases --- src/app/layout.tsx | 6 +++--- src/state/SWRConfigClient.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4b4d4bd4..389b0f3c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -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/SwrConfigClient'; +import SWRConfigClient from '../state/SWRConfigClient'; import '../site/globals.css'; import '../site/sonner.css'; @@ -73,7 +73,7 @@ export default function RootLayout({ > - +
- + diff --git a/src/state/SWRConfigClient.tsx b/src/state/SWRConfigClient.tsx index 26142c8d..08b92a04 100644 --- a/src/state/SWRConfigClient.tsx +++ b/src/state/SWRConfigClient.tsx @@ -2,7 +2,7 @@ import { SWRConfig } from 'swr'; -export default function SwrConfigClient({ +export default function SWRConfigClient({ children, }: { children: React.ReactNode