Skip to content

Commit

Permalink
Template Actions: Fix console error when resetting template (#61921)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
  • Loading branch information
3 people authored May 24, 2024
1 parent 417f6ea commit 0e3c335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,8 @@ const resetTemplateAction = {
}
await onConfirm( items );
onActionPerformed?.( items );
setIsBusy( false );
closeModal();
isBusy( false );
} }
isBusy={ isBusy }
disabled={ isBusy }
Expand Down

0 comments on commit 0e3c335

Please sign in to comment.