Skip to content

Commit

Permalink
Fixed the font family modal to open in state when a font is already s…
Browse files Browse the repository at this point in the history
…elected (#59379)

Co-authored-by: pbking <pbking@git.wordpress.org>
Co-authored-by: matiasbenedetto <mmaattiiaass@git.wordpress.org>
  • Loading branch information
3 people authored Feb 27, 2024
1 parent 3215fd8 commit efcaebb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ function InstalledFonts() {
</HStack>
) }

<NavigatorProvider initialPath="/">
<NavigatorProvider
initialPath={ libraryFontSelected ? '/fontFamily' : '/' }
>
<NavigatorScreen path="/">
{ notice && (
<>
Expand Down

0 comments on commit efcaebb

Please sign in to comment.