blog handlers mock-up

This commit is contained in:
gom-by
2025-01-15 13:35:30 +01:00
parent 683a8c3133
commit e62dfd8c40
4 changed files with 113 additions and 9 deletions

View File

@@ -24,12 +24,12 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<SWRConfig
value={{
fetcher: (url: string) => fetch(url).then((res) => res.json()),
revalidateOnFocus: false,
}}
>
//<SWRConfig
// value={{
// fetcher: (url: string) => fetch(url).then((res) => res.json()),
// revalidateOnFocus: false,
// }}
//>
<html lang="fr">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
@@ -37,6 +37,6 @@ export default function RootLayout({
{children}
</body>
</html>
</SWRConfig>
//</SWRConfig>
);
}