Skip to content

Commit

Permalink
docs: Update nextjs install highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Jun 6, 2024
1 parent b1a8243 commit 6a69d48
Show file tree
Hide file tree
Showing 4 changed files with 360 additions and 230 deletions.
2 changes: 2 additions & 0 deletions docs/core/guides/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ export default function RootLayout({ children }) {
return (
<html>
<body>
// highlight-next-line
<DataProvider>
<header>Title</header>
<AsyncBoundary>{children}</AsyncBoundary>
<footer></footer>
// highlight-next-line
</DataProvider>
</body>
</html>
Expand Down
4 changes: 1 addition & 3 deletions docs/core/shared/_installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ export default function RootLayout({ children }) {
<body>
// highlight-next-line
<DataProvider>
<header>Title</header>
<AsyncBoundary>{children}</AsyncBoundary>
<footer></footer>
{children}
// highlight-next-line
</DataProvider>
</body>
Expand Down
Loading

0 comments on commit 6a69d48

Please sign in to comment.