Skip to content

Commit

Permalink
Merge pull request #20 from danielwarke/fix/update-props
Browse files Browse the repository at this point in the history
fix(editor): fix issue where removing a property from component would not update editor state
  • Loading branch information
Hyperkid123 authored Oct 17, 2023
2 parents 5f8a6a6 + 6439d8c commit c71bf13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/editor-core/src/reducer/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const reducer = (state: any, action: any) => {
return { ...state };
case 'UPDATE_PROPS':
state.components[action.id] = {
...state.components[action.id],
...action.props
};
return { ...state };
Expand Down

0 comments on commit c71bf13

Please sign in to comment.