From d7c199dbd153a711afe3682a853df23688c11721 Mon Sep 17 00:00:00 2001 From: psteinroe Date: Thu, 24 Aug 2023 08:59:49 +0200 Subject: [PATCH] fix: add config to example --- examples/swr/pages/_app.tsx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/examples/swr/pages/_app.tsx b/examples/swr/pages/_app.tsx index 4bdf2f2c..757a6065 100644 --- a/examples/swr/pages/_app.tsx +++ b/examples/swr/pages/_app.tsx @@ -8,6 +8,7 @@ import { useState } from "react" import Head from "next/head" import { createBrowserSupabaseClient } from "@supabase/auth-helpers-nextjs" import { SessionContextProvider } from "@supabase/auth-helpers-react" +import { SWRConfig } from "swr" const fontSans = FontSans({ subsets: ["latin"], @@ -54,15 +55,17 @@ export default function App({ Component, pageProps }: AppProps) { content="https://supabase-cache-helpers.vercel.app/og-image.png" /> - - - - - - + + + + + + + + ) }