Skip to content

Commit

Permalink
Preferences: Fix back button on mobile (#65141)
Browse files Browse the repository at this point in the history
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
4 people authored Sep 9, 2024
1 parent fa78b66 commit 82bc72d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function PreferencesModalTabs( { sections } ) {
return (
<NavigatorButton
key={ tab.name }
path={ tab.name }
path={ `/${ tab.name }` }
as={ Item }
isAction
>
Expand Down Expand Up @@ -142,7 +142,7 @@ export default function PreferencesModalTabs( { sections } ) {
return (
<NavigatorScreen
key={ `${ section.name }-menu` }
path={ section.name }
path={ `/${ section.name }` }
>
<Card isBorderless size="large">
<CardHeader
Expand Down

0 comments on commit 82bc72d

Please sign in to comment.