From 76c2b2b54e40416802dd0b86bb237a415525601a Mon Sep 17 00:00:00 2001 From: bobbyzhong <3bobbyzhong3@gmail.com> Date: Fri, 26 Jan 2024 12:36:42 -0800 Subject: [PATCH] finished sprint: form validation for register page --- src/pages/Register.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/Register.jsx b/src/pages/Register.jsx index 92bac3b..1d00280 100644 --- a/src/pages/Register.jsx +++ b/src/pages/Register.jsx @@ -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); }