Skip to content

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/data/joy/customization/dark-mode/dark-mode.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default class MyDocument extends Document {
115115

116116
### Next.js App Router
117117

118-
To use the Joy UI API with a Next.js project with the App Router, add the following code to the [root layout](https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates#root-layout-required) file in order to prevent flickering:
118+
To use the Joy UI API with a Next.js project with the App Router, add the following code to the [root layout](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#root-layout-required) file in order to prevent flickering:
119119

120120
```jsx title="app/layout.js"
121121
import InitColorSchemeScript from '@mui/joy/InitColorSchemeScript';

docs/data/material/customization/css-theme-variables/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ createTheme({
176176

177177
### Next.js App Router
178178

179-
Add the following code to the [root layout](https://nextjs.org/docs/app/building-your-application/routing/layouts-and-templates#root-layout-required) file:
179+
Add the following code to the [root layout](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts#root-layout-required) file:
180180

181181
```jsx title="app/layout.js"
182182
import InitColorSchemeScript from '@mui/material/InitColorSchemeScript';

0 commit comments

Comments
 (0)