remove unnecessary ISR
This commit is contained in:
@@ -68,7 +68,6 @@ export const getStaticProps: GetStaticProps<InitialProps> = async ({ params }) =
|
||||
props: {
|
||||
initialEvent,
|
||||
},
|
||||
revalidate: 10,
|
||||
notFound,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -69,7 +69,6 @@ export const getStaticProps: GetStaticProps<InitialProps> = async ({ params }) =
|
||||
props: {
|
||||
initialPost,
|
||||
},
|
||||
revalidate: 10,
|
||||
notFound,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -97,7 +97,6 @@ export const getStaticProps: GetStaticProps<InitialProps> = async ({ params }) =
|
||||
props: {
|
||||
initialForm,
|
||||
},
|
||||
revalidate: 10,
|
||||
notFound,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user