Allow deleteComponent from settings bar

This commit is contained in:
Mel O'Hagan 2022-10-10 13:36:32 +01:00
parent 33525d2aa1
commit 5b9befcefe
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ const createBuilderStore = () => {
duplicateComponent: id => {
dispatchEvent("duplicate-component", { id })
},
deleteComponent: id => {
dispatchEvent("delete-component", { id })
},
notifyLoaded: () => {
dispatchEvent("preview-loaded")
},