Skip to content

Commit

Permalink
Remove withTheme option from withStyles and run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored and oliviertassinari committed Mar 25, 2019
1 parent 387008c commit 5757321
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/demos/dividers/InsetDividers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const styles = (theme: Theme) =>
},
});

type Props = WithStyles<typeof styles> & WithTheme
type Props = WithStyles<typeof styles> & WithTheme;

function InsetDividers(props: Props) {
const { classes } = props;
Expand Down Expand Up @@ -55,4 +55,4 @@ InsetDividers.propTypes = {
classes: PropTypes.object.isRequired,
} as any;

export default withStyles(styles, { withTheme: true })(InsetDividers);
export default withStyles(styles)(InsetDividers);
2 changes: 1 addition & 1 deletion docs/src/pages/demos/dividers/ListDividers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ ListDividers.propTypes = {
classes: PropTypes.object.isRequired,
} as any;

export default withStyles(styles, { withTheme: true })(ListDividers);
export default withStyles(styles)(ListDividers);
2 changes: 1 addition & 1 deletion docs/src/pages/demos/dividers/MiddleDividers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ MiddleDividers.propTypes = {
classes: PropTypes.object.isRequired,
} as any;

export default withStyles(styles, { withTheme: true })(MiddleDividers);
export default withStyles(styles)(MiddleDividers);
2 changes: 1 addition & 1 deletion docs/src/pages/demos/dividers/SubheaderDividers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ SubheaderDividers.propTypes = {
classes: PropTypes.object.isRequired,
} as any;

export default withStyles(styles, { withTheme: true })(SubheaderDividers);
export default withStyles(styles)(SubheaderDividers);

0 comments on commit 5757321

Please sign in to comment.