From 68cc693e3f18ebb653033e9bdea4b684e3a67516 Mon Sep 17 00:00:00 2001 From: NCanggoro Date: Mon, 9 Oct 2023 16:24:02 +0700 Subject: [PATCH] remove unused var --- src/pages/AddLocation/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {