Skip to content

Commit

Permalink
finished sprint: form validation for register page
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyzhong committed Jan 26, 2024
1 parent 90ef85b commit 76c2b2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ const Register = () => {

const postVolunteerData = async formData => {
try {
// await Backend.post('/data', formData);
console.log('Submitted ');
console.log(formData);
await Backend.post('/eventData', formData);
} catch (e) {
console.log('Error posting', e);
}
Expand Down

0 comments on commit 76c2b2b

Please sign in to comment.