Allow deleteComponent from settings bar
This commit is contained in:
parent
33525d2aa1
commit
5b9befcefe
|
@ -47,6 +47,9 @@ const createBuilderStore = () => {
|
|||
duplicateComponent: id => {
|
||||
dispatchEvent("duplicate-component", { id })
|
||||
},
|
||||
deleteComponent: id => {
|
||||
dispatchEvent("delete-component", { id })
|
||||
},
|
||||
notifyLoaded: () => {
|
||||
dispatchEvent("preview-loaded")
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue