Skip to content

Commit

Permalink
Editor: Set default parameter for '__unstableSaveForPreview' (#53079)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jul 28, 2023
1 parent 7c0284b commit 4035637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export const autosave =
};

export const __unstableSaveForPreview =
( { forceIsAutosaveable } ) =>
( { forceIsAutosaveable } = {} ) =>
async ( { select, dispatch } ) => {
if (
( forceIsAutosaveable || select.isEditedPostAutosaveable() ) &&
Expand Down

0 comments on commit 4035637

Please sign in to comment.