diff --git a/src/pages/AddLocation/index.tsx b/src/pages/AddLocation/index.tsx index 0a8a617..a91ebaf 100644 --- a/src/pages/AddLocation/index.tsx +++ b/src/pages/AddLocation/index.tsx @@ -85,7 +85,7 @@ function AddLocation() { } try { - const res = await createLocationService(formData) + await createLocationService(formData) alert("Location Added") } catch(error) {