Skip to content

Commit

Permalink
Template Actions: Fix console error when resetting template (WordPres…
Browse files Browse the repository at this point in the history
…s#61921)

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
  • Loading branch information
3 people authored and patil-vipul committed Jun 17, 2024
1 parent e309c2f commit feaa1d5
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 feaa1d5

Please sign in to comment.