Skip to content

Commit

Permalink
Merge branch 'update/split-navigator-container-from-provider' into tr…
Browse files Browse the repository at this point in the history
…y/style-book
  • Loading branch information
noisysocks committed Nov 28, 2022
2 parents 207f72e + 9125ae9 commit 58396fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,9 @@ exports[`EditPostPreferencesModal should match snapshot when the modal is active
</button>
</div>
<div
class="components-navigator-provider interface-preferences__provider emotion-0 emotion-1"
class="components-navigator-container interface-preferences__provider emotion-0 emotion-1"
data-wp-c16t="true"
data-wp-component="NavigatorProvider"
data-wp-component="NavigatorContainer"
>
<div
class="emotion-2 components-navigator-screen"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,8 @@ export default function PreferencesModalTabs( { sections } ) {
);
} else {
modalContent = (
<NavigatorProvider
initialPath="/"
className="interface-preferences__provider"
>
<NavigatorContainer>
<NavigatorProvider initialPath="/">
<NavigatorContainer className="interface-preferences__provider">
<NavigatorScreen path="/">
<Card isBorderless size="small">
<CardBody>
Expand Down

0 comments on commit 58396fc

Please sign in to comment.