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/Items/RegisterItemForm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/Form/Items/RegisterItemForm.js') diff --git a/src/components/Form/Items/RegisterItemForm.js b/src/components/Form/Items/RegisterItemForm.js index 140de29..b57db9f 100644 --- a/src/components/Form/Items/RegisterItemForm.js +++ b/src/components/Form/Items/RegisterItemForm.js @@ -35,7 +35,7 @@ const RegisterItemForm = (props) => { // TODO: show confirmation before being invisible axios.post( - `/api/items/` + `/api/items/register/` + `?model=${newItemNameValue}` + `&desc=${newItemDescValue}` + `&price=${newItemPriceValue}` @@ -59,7 +59,7 @@ const RegisterItemForm = (props) => {
-
+
-
+