Skip to content

Commit

Permalink
[docs] Fix Next.js pages router example redirect link (mui#38750)
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 authored and xcode-it committed Sep 11, 2023
1 parent 04adfbc commit 21558c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/guides/routing/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const LinkBehavior = React.forwardRef((props, ref) => (

### Next.js Pages Router

The [example folder](https://github.com/mui/material-ui/tree/HEAD/examples/material-ui-nextjs-ts) provides an adapter for the use of [Next.js's Link component](https://nextjs.org/docs/api-reference/next/link) with Material UI.
The [example folder](https://github.com/mui/material-ui/tree/HEAD/examples/material-ui-nextjs-pages-router-ts) provides an adapter for the use of [Next.js's Link component](https://nextjs.org/docs/api-reference/next/link) with Material UI.

- The first version of the adapter is the [`NextLinkComposed`](https://github.com/mui/material-ui/blob/-/examples/material-ui-nextjs-pages-router-ts/src/Link.tsx) component.
This component is unstyled and only responsible for handling the navigation.
Expand Down

0 comments on commit 21558c1

Please sign in to comment.