We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613399c commit 3fa973eCopy full SHA for 3fa973e
src/actions/workspaceActions.js
@@ -219,7 +219,7 @@ export const removeElement = (elementId) => {
219
dispatch(_unlinkSlots(element))
220
}
221
222
- if(element.componentName == PRIMITIVE) {
+ if(element.componentName == PRIMITIVE || element.componentName == BRICK) {
223
const slotId = Object.keys(element.outputSlots)[0]
224
const slot = element.outputSlots[slotId]
225
0 commit comments