From 499c54e8eb53cf49d8ddae68528eb3a8243101d2 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Wed, 5 May 2021 10:20:41 +0530 Subject: fixed broken API routes and css glitch in form --- src/components/Form/People/RegisterPersonForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/Form/People/RegisterPersonForm.js') diff --git a/src/components/Form/People/RegisterPersonForm.js b/src/components/Form/People/RegisterPersonForm.js index bca3bde..42cfb2e 100644 --- a/src/components/Form/People/RegisterPersonForm.js +++ b/src/components/Form/People/RegisterPersonForm.js @@ -30,7 +30,7 @@ const RegisterPersonForm = (props) => { event.preventDefault(); // TODO: show confirmation before being invisible axios.post( - `/api/people/` + `/api/people/register/` + `?name=${newPersonName}` + `&phone=${newPersonPhone}` + `&email=${newPersonEmail}` -- cgit v1.2.3