Skip to content

Commit

Permalink
cast globalFluid value to boolean (#64882)
Browse files Browse the repository at this point in the history
Co-authored-by: Aki Hamano <[email protected]>
  • Loading branch information
matiasbenedetto and t-hamano authored Aug 29, 2024
1 parent 5981404 commit 924dfb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function FontSize() {

// Whether the font size is fluid. If not defined, use the global fluid value of the theme.
const isFluid =
fontSize.fluid !== undefined ? !! fontSize.fluid : globalFluid;
fontSize.fluid !== undefined ? !! fontSize.fluid : !! globalFluid;

// Whether custom fluid values are used.
const isCustomFluid = typeof fontSize.fluid === 'object';
Expand Down

1 comment on commit 924dfb3

@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 924dfb3.
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/10615791753
📝 Reported issues:

Please sign in to comment.