removed unused code
This commit is contained in:
parent
e86d43c6e9
commit
4b9f5d737a
@ -88,15 +88,6 @@ const ProjectCard = ({ projectData }) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleModify = async (e) => {
|
|
||||||
e.stopPropagation(); // prevent event bubbling
|
|
||||||
setLoading(true);
|
|
||||||
try {
|
|
||||||
await handleShow(); // call your API or async function
|
|
||||||
} finally {
|
|
||||||
setLoading(false);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user