Fix for widgets not getting removed from canvas

This commit is contained in:
navaneeth 2021-05-20 11:29:38 +05:30
parent 2e346f6ff0
commit 8f52ad8c80

View file

@ -32,7 +32,7 @@ return <div className="config-handle" ref={dragRef}>
role="button"
className="mx-2"
height="12"
onClick={removeComponent}
onClick={() => removeComponent({id})}
style={{marginRight: '5px'}}
/>
</div>