Skip to content

Commit

Permalink
[docs] Fix typo in advanced styles guide (#16593)
Browse files Browse the repository at this point in the history
* Fix typo in css injection order guide

* Update advanced.md
  • Loading branch information
elquimista authored and oliviertassinari committed Jul 13, 2019
1 parent ebaa2cd commit 783b693
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/pages/styles/advanced/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -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', // 🔴
},
Expand All @@ -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)
Expand Down

0 comments on commit 783b693

Please sign in to comment.