Skip to content

Commit

Permalink
[docs] Refactor CheckboxesGroup to support IE11 (#13316)
Browse files Browse the repository at this point in the history
  • Loading branch information
simjes authored and oliviertassinari committed Oct 20, 2018
1 parent c26a0c8 commit 79444f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/demos/selection-controls/CheckboxesGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CheckboxesGroup extends React.Component {
render() {
const { classes } = this.props;
const { gilad, jason, antoine } = this.state;
const error = Object.values(this.state).filter(v => v).length !== 2;
const error = [gilad, jason, antoine].filter(v => v).length !== 2;

return (
<div className={classes.root}>
Expand Down

0 comments on commit 79444f1

Please sign in to comment.