Skip to content

Commit 8669c3d

Browse files
committed
Fix NavContext usage in Talks component
1 parent 4096a70 commit 8669c3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Layout/HomeContent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ async function Talks({ confId }) {
11711171
</CodeBlock>
11721172
}
11731173
right={
1174-
<NavContext.Provider value={{slug, navigate}}>
1174+
<NavContext value={{slug, navigate}}>
11751175
<BrowserChrome
11761176
domain="example.com"
11771177
path={'confs/' + slug}
@@ -1191,7 +1191,7 @@ async function Talks({ confId }) {
11911191
</Suspense>
11921192
</ExamplePanel>
11931193
</BrowserChrome>
1194-
</NavContext.Provider>
1194+
</NavContext>
11951195
}
11961196
/>
11971197
);

0 commit comments

Comments
 (0)