Skip to content

Commit

Permalink
BlockHTML: Use correct type when setting 'html' state onBlur (#49191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Mar 20, 2023
1 parent 2c3bf49 commit 5cdca99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function BlockHTML( { clientId } ) {

// Ensure the state is updated if we reset so it displays the default content.
if ( ! html ) {
setHtml( { content } );
setHtml( content );
}
};

Expand Down

1 comment on commit 5cdca99

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 5cdca99.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4466014209
📝 Reported issues:

Please sign in to comment.