Fix:Added Create finanace and View Finance

This commit is contained in:
2025-02-23 07:00:07 +05:30
parent 04317cb9e9
commit ac723810c5
6 changed files with 132 additions and 3 deletions
@@ -17,6 +17,7 @@ const EditFarm = ({ _id, onDelete }) => {
if (onDelete) onDelete(_id);
}
setModalOpen(false); // Close the modal after the operation
window.location.reload();
} catch (error) {
console.error("Error deleting farm:", error);
}