From 85aa11dc37a0661fd234eeff3e5b52abb33ba589 Mon Sep 17 00:00:00 2001 From: Rutaj Dash <33367546+rutajdash@users.noreply.github.com> Date: Sun, 1 May 2022 09:15:27 +0530 Subject: [PATCH] fix(apollo): article fetch via graphql --- client/src/pages/article/[...article].jsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/client/src/pages/article/[...article].jsx b/client/src/pages/article/[...article].jsx index 9abb16ab..cff78925 100644 --- a/client/src/pages/article/[...article].jsx +++ b/client/src/pages/article/[...article].jsx @@ -186,16 +186,7 @@ export async function getStaticProps({ export async function getStaticPaths() { return { - paths: [ - { - params: { - article: [ - '626d29bbc849aea28d531657', - 'Re-jubin-ate-to-the-tunes-of-Celebrity-Night', - ], - }, - }, - ], + paths: [], fallback: 'blocking', }; }