Skip to content

Commit

Permalink
Changed handling order.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Feb 6, 2024
1 parent 1a0531f commit 1c0b76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/volto/src/components/manage/Form/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,10 @@ class Form extends Component {
}}
enableHotKeys
onUndoRedo={({ state }) => {
this.setState(state);
if (this.props.global) {
this.props.setFormData(state.formData);
}
return this.setState(state);
}}
/>
<BlocksForm
Expand Down

0 comments on commit 1c0b76b

Please sign in to comment.