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);
@ -630,7 +630,7 @@ const Categories = () => {
width="40" width="40"
alt="" alt=""
/> />
<h5>{} </h5> <h5>{ } </h5>
</td> </td>
<td> <td>
<h5>{item.categoryName} </h5> <h5>{item.categoryName} </h5>

View File

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