Skip to content

Commit

Permalink
Update Providers pattern doc link in README.md (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hahlh authored Mar 13, 2024
1 parent 709952d commit 81b02e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function Layout({ children }) {
}
```

Adding dark mode support still only takes a few lines of code. Start by creating a new [providers component](https://beta.nextjs.org/docs/rendering/server-and-client-components#rendering-third-party-context-providers-in-server-components) in its own file:
Adding dark mode support still only takes a few lines of code. Start by creating a new [providers component](https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns#using-context-providers) in its own file:

```js
// app/providers.jsx
Expand Down

0 comments on commit 81b02e2

Please sign in to comment.