Skip to content

Commit 3b9860a

Browse files
committed
corrected bug preventing deletion of components in left column
1 parent 3767586 commit 3b9860a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const deleteComponent = ({
8787
}) => (dispatch: (arg: Action) => void) => {
8888
// find all places where the "to be deleted" is a child and do what u gotta do
8989
stateComponents.forEach((parent: ComponentInt) => {
90-
parent.childrenArrayChildInt
90+
parent.childrenArray
9191
.filter((child: ChildInt) => child.childComponentId === componentId)
9292
.forEach((child: ChildInt) => {
9393
dispatch({

0 commit comments

Comments
 (0)