Add TODO comments

This commit is contained in:
Aarni Halinen
2021-01-15 21:07:16 +02:00
parent b986c39059
commit 862e8208c2
+2 -3
View File
@@ -68,13 +68,12 @@ const SignUpPage: NextPage = () => {
try {
if (uuid) {
const resp = await updateSignup(payload, uuid);
// fetchSignUpForm(signUpForm.id);
setFormData(resp);
// TODO: Update signup list, so user sees possible changes in the list
setStatus("Sign-up submission updated successfully");
}
else {
const resp = await createSignup(payload);
// fetchSignUpForm(signUpForm.id);
// TODO: Fetch/update signup list, so user sees the signup in the list
setStatus("Sign-up submitted successfully");
}
} catch (error) {