Allow deleteComponent from settings bar

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

View File

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