From fbc0b79fdad5bd07e6128bcb843a733a738fab3a Mon Sep 17 00:00:00 2001 From: LuxShan Thavarasa <120371059+Luxshan2000@users.noreply.github.com> Date: Sun, 29 Oct 2023 02:13:23 +0530 Subject: [PATCH] Update AddItems.js --- frontend/src/components/AddItems.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/AddItems.js b/frontend/src/components/AddItems.js index 7494bfd..7bcd1e4 100644 --- a/frontend/src/components/AddItems.js +++ b/frontend/src/components/AddItems.js @@ -9,7 +9,7 @@ function AddItems({setItems}) { ev.preventDefault(); try {//51.20.76.107 - const response = await axios.post("https://www.luxshanthavarasa.bio/api/add/item", { name: name }); + const response = await axios.post("https://luxshanthavarasa.bio/api/add/item", { name: name }); setname(""); setItems((prv)=>[...prv,response.data.item]) } catch (error) {