diff --git a/frontend/src/Editor/ConfigHandle.jsx b/frontend/src/Editor/ConfigHandle.jsx index 59a3eada5c..b7d4cc3433 100644 --- a/frontend/src/Editor/ConfigHandle.jsx +++ b/frontend/src/Editor/ConfigHandle.jsx @@ -32,7 +32,7 @@ return
role="button" className="mx-2" height="12" - onClick={removeComponent} + onClick={() => removeComponent({id})} style={{marginRight: '5px'}} />