Skip to content

Commit

Permalink
default value fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Apr 8, 2024
1 parent 57f457c commit d763c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export function setIsSaveViewOpened( isOpen ) {
* reverting the template. Default true.
*/
export const revertTemplate =
( template, { allowUndo } = {} ) =>
( template, { allowUndo = true } = {} ) =>
( { registry } ) => {
unlock( registry.dispatch( editorStore ) ).revertTemplate(
template,
Expand Down

0 comments on commit d763c67

Please sign in to comment.