Skip to content

Commit

Permalink
Add allFontFamilies to deps array
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Jul 31, 2024
1 parent 06fb7a4 commit 5bdf4d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function TypesetButton() {
return activeVariation.title;
}
return allFontFamilies.map( ( font ) => font?.name ).join( ', ' );
}, [ userTypographyConfig, variations ] );
}, [ allFontFamilies, userTypographyConfig, variations ] );

return (
hasFonts && (
Expand Down

0 comments on commit 5bdf4d6

Please sign in to comment.