From e83743479386eecc0ab4465b3bd8ed427901de70 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Tue, 29 Jun 2021 15:09:37 +0300 Subject: [PATCH] remove unnecessary ISR --- src/pages/events/[id].tsx | 1 - src/pages/feed/[id].tsx | 1 - src/pages/signup/[id].tsx | 1 - src/pages/signup/edit/[id]/[uuid].tsx | 1 - 4 files changed, 4 deletions(-) diff --git a/src/pages/events/[id].tsx b/src/pages/events/[id].tsx index 082f721..a9892d6 100644 --- a/src/pages/events/[id].tsx +++ b/src/pages/events/[id].tsx @@ -68,7 +68,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) = props: { initialEvent, }, - revalidate: 10, notFound, }; }; diff --git a/src/pages/feed/[id].tsx b/src/pages/feed/[id].tsx index 1b42300..e8260b3 100644 --- a/src/pages/feed/[id].tsx +++ b/src/pages/feed/[id].tsx @@ -69,7 +69,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) = props: { initialPost, }, - revalidate: 10, notFound, }; }; diff --git a/src/pages/signup/[id].tsx b/src/pages/signup/[id].tsx index b432bf7..679e52a 100644 --- a/src/pages/signup/[id].tsx +++ b/src/pages/signup/[id].tsx @@ -97,7 +97,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) = props: { initialForm, }, - revalidate: 10, notFound, }; }; diff --git a/src/pages/signup/edit/[id]/[uuid].tsx b/src/pages/signup/edit/[id]/[uuid].tsx index 3b150a0..88a4d93 100644 --- a/src/pages/signup/edit/[id]/[uuid].tsx +++ b/src/pages/signup/edit/[id]/[uuid].tsx @@ -60,7 +60,6 @@ const EditSignUpPage: NextPage = () => { try { await SignupApi.updateSignup(payload, uuid); - // TODO: Update signup list, so user sees possible changes in the list toast.success("Sign-up updated successfully 😎"); } catch (error) { console.error(error);