feat:Fixed all the UI Pages
This commit is contained in:
@@ -16,7 +16,7 @@ const CropTable = ({ farmId }) => {
|
||||
isLoading: cropsLoading,
|
||||
} = useGetCropsByFarmQuery(farmId);
|
||||
|
||||
console.log("Crops data is :", cropsData);
|
||||
|
||||
const handleRemoveCrop = async (cropId) => {
|
||||
try {
|
||||
await fetch(`http://localhost:8000/api/v1/crop/${cropId}`, {
|
||||
|
||||
Reference in New Issue
Block a user