diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-05-05 10:20:41 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-05-05 10:20:41 +0530 |
commit | 499c54e8eb53cf49d8ddae68528eb3a8243101d2 (patch) | |
tree | b0227990ac10376e51423a7886c69e54efa72a29 /src/components/Form/People | |
parent | 4df6eaa913737427ddec2561c0ee8c9235f0c95f (diff) |
fixed broken API routes and css glitch in form
Diffstat (limited to 'src/components/Form/People')
-rw-r--r-- | src/components/Form/People/RegisterPersonForm.js | 2 |
1 files changed, 1 insertions, 1 deletions
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}` |