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 and getdave committed Feb 27, 2024
1 parent ae25e5a commit 78a4740
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 78a4740

Please sign in to comment.