Skip to content

Commit c71bf13

Browse files
authored
Merge pull request #20 from danielwarke/fix/update-props
fix(editor): fix issue where removing a property from component would not update editor state
2 parents 5f8a6a6 + 6439d8c commit c71bf13

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/editor-core/src/reducer/reducer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const reducer = (state: any, action: any) => {
1919
return { ...state };
2020
case 'UPDATE_PROPS':
2121
state.components[action.id] = {
22-
...state.components[action.id],
2322
...action.props
2423
};
2524
return { ...state };

0 commit comments

Comments
 (0)