diff --git a/docs/src/pages/styles/advanced/advanced.md b/docs/src/pages/styles/advanced/advanced.md index 9ae84eefd49bf6..8439d9622aa3f6 100644 --- a/docs/src/pages/styles/advanced/advanced.md +++ b/docs/src/pages/styles/advanced/advanced.md @@ -253,13 +253,13 @@ The injection of style tags happens in the **same order** as the `makeStyles` / import clsx from 'clsx'; import { makeStyles } from '@material-ui/styles'; -const useStyleBase = makeStyles({ +const useStylesBase = makeStyles({ root: { color: 'blue', // 🔵 }, }); -const useStyle = makeStyles({ +const useStyles = makeStyles({ root: { color: 'red', // 🔴 }, @@ -268,7 +268,7 @@ const useStyle = makeStyles({ export default function MyComponent() { // Order doesn't matter const classes = useStyles(); - const classesBase = useStyleBase(); + const classesBase = useStylesBase(); // Order doesn't matter const className = clsx(classes.root, classesBase.root)