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.
2 parents c71bf13 + e730db1 commit e2a692dCopy full SHA for e2a692d
packages/editor-core/src/reducer/reducer.ts
@@ -19,7 +19,8 @@ const reducer = (state: any, action: any) => {
19
return { ...state };
20
case 'UPDATE_PROPS':
21
state.components[action.id] = {
22
- ...action.props
+ ...action.props,
23
+ ref: state.components[action.id].ref
24
};
25
26
case 'REMOVE_COMPONENT':
0 commit comments