diff --git a/docs/_shared/Ad.tsx b/docs/_shared/Ad.tsx index 0d9c6bc95..d8e69b491 100644 --- a/docs/_shared/Ad.tsx +++ b/docs/_shared/Ad.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { loadScript } from 'utils/helpers'; import { Grid, makeStyles } from '@material-ui/core'; -const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles((theme) => ({ '@global': { '#carbonads': { fontFamily: theme.typography.fontFamily, diff --git a/docs/_shared/Code.tsx b/docs/_shared/Code.tsx index fb96cbdf0..aff51cacb 100644 --- a/docs/_shared/Code.tsx +++ b/docs/_shared/Code.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { highlight } from '../utils/prism'; import { makeStyles } from '@material-ui/core'; -const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles((theme) => ({ root: { margin: 0, fontFamily: theme.typography.fontFamily, diff --git a/docs/_shared/Example.tsx b/docs/_shared/Example.tsx index 72077d70e..0ffe1c101 100644 --- a/docs/_shared/Example.tsx +++ b/docs/_shared/Example.tsx @@ -17,7 +17,7 @@ interface ExampleProps { source: { raw: string; relativePath: string; default: React.FC }; } -const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles((theme) => ({ exampleTitle: { marginBottom: 8, '@media(max-width: 600px)': { diff --git a/docs/_shared/LinkedComponents.tsx b/docs/_shared/LinkedComponents.tsx index 7cb49ea9f..fbe34a153 100644 --- a/docs/_shared/LinkedComponents.tsx +++ b/docs/_shared/LinkedComponents.tsx @@ -9,7 +9,7 @@ interface LinkedComponentsProps { const LinkedComponents: React.FunctionComponent = ({ components }) => { return (