diff --git a/src/app/admin/(dashboard)/landing-page/apbdes/[id]/edit/page.tsx b/src/app/admin/(dashboard)/landing-page/apbdes/[id]/edit/page.tsx index 90599e93..59d7006c 100644 --- a/src/app/admin/(dashboard)/landing-page/apbdes/[id]/edit/page.tsx +++ b/src/app/admin/(dashboard)/landing-page/apbdes/[id]/edit/page.tsx @@ -377,6 +377,7 @@ function EditAPBDes() { onClick={() => { setPreviewImage(null); setImageFile(null); + apbdesState.edit.form.imageId = ''; // Clear imageId from form }} > @@ -436,6 +437,7 @@ function EditAPBDes() { onClick={() => { setPreviewDoc(null); setDocFile(null); + apbdesState.edit.form.fileId = ''; // Clear fileId from form }} >