From e138e9553fbf3294e1f435e9d5cf3111366e838f Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Fri, 1 Mar 2024 10:27:35 +0700 Subject: [PATCH] update --- frontend/dashboard/src/pages/ClaimRequests/CreateUpdate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dashboard/src/pages/ClaimRequests/CreateUpdate.tsx b/frontend/dashboard/src/pages/ClaimRequests/CreateUpdate.tsx index c1e6307d..1d956a40 100644 --- a/frontend/dashboard/src/pages/ClaimRequests/CreateUpdate.tsx +++ b/frontend/dashboard/src/pages/ClaimRequests/CreateUpdate.tsx @@ -32,7 +32,7 @@ export default function ClaimsCreateUpdate() { useEffect(() => { if (isEdit) { - axios.get('/claim-requests/' + id).then((res) => { + axios.get('/claim-requests/' + id + '/show').then((res) => { setCurrentClaim(res.data.data); });