Skip to content

Commit

Permalink
[docs] Fix @mui/styles example links
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 25, 2023
1 parent 0461ecd commit ed61ef2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/data/styles/advanced/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,15 +400,15 @@ Refer to the plugin's page for setup and usage instructions.

<!-- #default-branch-switch -->

Refer to [this example Gatsby project](https://github.com/mui/material-ui/tree/master/examples/material-gatsby) for an up-to-date usage example.
Refer to [this example Gatsby project](https://github.com/mui/material-ui/tree/dc60f3d53cac73cc4556bae97b28578d29b0e00e/examples/gatsby) for an usage example.

### Next.js

You need to have a custom `pages/_document.js`, then copy [this logic](https://github.com/mui/material-ui/blob/814fb60bbd8e500517b2307b6a297a638838ca89/examples/material-next/pages/_document.js#L52-L59) to inject the server-side rendered styles into the `<head>` element.
You need to have a custom `pages/_document.js`, then copy [this logic](https://github.com/mui/material-ui/blob/814fb60bbd8e500517b2307b6a297a638838ca89/examples/nextjs/pages/_document.js#L52-L59) to inject the server-side rendered styles into the `<head>` element.

<!-- #default-branch-switch -->

Refer to [this example project](https://github.com/mui/material-ui/tree/master/examples/material-next) for an up-to-date usage example.
Refer to [this example project](https://github.com/mui/material-ui/blob/814fb60bbd8e500517b2307b6a297a638838ca89/examples/nextjs) for an up-to-date usage example.

## Class names

Expand Down

0 comments on commit ed61ef2

Please sign in to comment.