fixes: Not able to delete component from Inspector

This commit is contained in:
arpitnath 2023-10-03 19:47:47 +05:30
parent a7178e1434
commit 8770bba3a0

View file

@ -117,7 +117,7 @@ export const LeftSidebarInspector = ({
const iconsList = useMemo(() => [...queryIcons, ...componentIcons], [queryIcons, componentIcons]);
const handleRemoveComponent = (component) => {
removeComponent(component);
removeComponent(component.id);
};
const handleSelectComponentOnEditor = (component) => {