Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Sycamore <[email protected]>
Signed-off-by: Siriwat K <[email protected]>
  • Loading branch information
siriwatknp and mapache-salvaje authored Feb 27, 2025
1 parent b020037 commit f29c3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data/material/customization/dark-mode/dark-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function App() {
```

:::warning
If you are using the `InitColorSchemeScript` component to [prevent SSR flicker](/material-ui/customization/css-theme-variables/configuration/#preventing-ssr-flickering), you have to include the `localStorage` implementation in your custom storage manager.
If you are using the `InitColorSchemeScript` component to [prevent SSR flickering](/material-ui/customization/css-theme-variables/configuration/#preventing-ssr-flickering), you have to include the `localStorage` implementation in your custom storage manager.
:::

### Disable storage
Expand All @@ -191,7 +191,7 @@ To disable the storage manager, pass `null` to the `storageManager` prop:
```

:::warning
Disabling the storage manager will reset the app to its default mode when users refresh the page.
Disabling the storage manager will cause the app to reset to its default mode whenever the user refreshes the page.

Check warning on line 194 in docs/data/material/customization/dark-mode/dark-mode.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.Will] Avoid using 'will'. Raw Output: {"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/data/material/customization/dark-mode/dark-mode.md", "range": {"start": {"line": 194, "column": 31}}}, "severity": "WARNING"}
:::

## Disable transitions
Expand Down

0 comments on commit f29c3e7

Please sign in to comment.