Skip to content

Commit 92d1600

Browse files
committed
apply suggestion
1 parent cdf9041 commit 92d1600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ If you try to render your UI based on the server, before mounting on the client,
121121

122122
### Avoiding screen flickering
123123

124-
To [prevent the UI from flickering](/joy-ui/main-features/dark-mode-optimization/#the-problem-flickering-on-first-load), apply `<InitColorSchemeScript />` before the main application script-it varies across frameworks:
124+
To [prevent the UI from flickering](/joy-ui/main-features/dark-mode-optimization/#the-problem-flickering-on-first-load), add the `<InitColorSchemeScript />` component before the `<CssVarsProvider />` component:
125125

126126
### Next.js App Router
127127

0 commit comments

Comments
 (0)