blog handlers mock-up
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user