Skip to content

Commit 7bd0c45

Browse files
committed
fix(stateDetails): fix wrong endpoint param
1 parent ac12903 commit 7bd0c45

File tree

1 file changed

+1
-1
lines changed
  • app/dashboard/state/details/[stateID]

1 file changed

+1
-1
lines changed

app/dashboard/state/details/[stateID]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ export default function Details() {
443443
formData.append("test_file", data.stateLogo);
444444

445445
api
446-
.put(`/stateAct/update/`, formData, {
446+
.put(`/stateAct/update/${params.stateID}`, formData, {
447447
headers: {
448448
"Content-Type": "multipart/form-data",
449449
},

0 commit comments

Comments
 (0)