Add TODO comments
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user