This commit is contained in:
parwez-zafar 2023-12-19 16:39:04 +05:30
parent d8b6830bce
commit a7d0035e62
2 changed files with 8 additions and 8 deletions

View File

@ -83,7 +83,7 @@ const Categories = () => {
useEffect(() => { useEffect(() => {
getCategories(); getCategories();
}, [token, category]); }, [token]);
const handleEditClick = (_id, categoryName, categoryImage) => { const handleEditClick = (_id, categoryName, categoryImage) => {
setOpen(true); setOpen(true);

View File

@ -130,7 +130,7 @@ const Design = () => {
useEffect(() => { useEffect(() => {
getDesigns(); getDesigns();
}, [token, design]); }, [token]);
const handleEditClick = ( const handleEditClick = (
_id, _id,