Skip to content

Commit

Permalink
Link to styling in drak mode section instead of applyStyles API
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Dec 20, 2024
1 parent 55fc452 commit be9b07b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ For SSR (server-side rendering) applications, Material UI can not detected user

To prevent the issue, you need to ensure that there is no usage of `theme.palette.mode === 'dark'` in your code base.

If you have such a condition, replace it with the [`theme.applyStyles()` function](/material-ui/customization/dark-mode/#api):
If you have such a condition, replace it with the [`theme.applyStyles()` function](/material-ui/customization/dark-mode/#styling-in-dark-mode):

```diff
import Card from '@mui/material/Card';
Expand Down

0 comments on commit be9b07b

Please sign in to comment.