From 4b6f878f8cca3d53a2b1f251b9fed8ecc35bd751 Mon Sep 17 00:00:00 2001 From: w3bdesign <45217974+w3bdesign@users.noreply.github.com> Date: Mon, 7 Feb 2022 19:30:20 +0100 Subject: [PATCH] Update index.tsx --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 21e3ebe49..3286813cd 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -22,7 +22,7 @@ const Home: NextPage = ({ data }: InferGetStaticPropsType ); export const getStaticProps: GetStaticProps = async () => { - const post = await getClient({}).fetch(indexQuery); + const post = await getClient(false).fetch(indexQuery); return { props: {