Skip to content

Commit

Permalink
replace hardcoded strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ante Vuletić Antić committed Feb 17, 2018
1 parent 773771d commit 55a69fe
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/sidebar/filters/AbilityTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'fire',
utils.typeGroup.value.fire,
)}
onChange={this.handleChange(utils.typeGroup.value.fire)}
value={utils.typeGroup.value.fire}
Expand All @@ -49,7 +49,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'water',
utils.typeGroup.value.water,
)}
onChange={this.handleChange(utils.typeGroup.value.water)}
value={utils.typeGroup.value.water}
Expand All @@ -61,7 +61,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'ground',
utils.typeGroup.value.ground,
)}
onChange={this.handleChange(utils.typeGroup.value.ground)}
value={utils.typeGroup.value.ground}
Expand All @@ -73,7 +73,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'electric',
utils.typeGroup.value.electric,
)}
onChange={this.handleChange(utils.typeGroup.value.electric)}
value={utils.typeGroup.value.electric}
Expand All @@ -85,7 +85,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'flying',
utils.typeGroup.value.flying,
)}
onChange={this.handleChange(utils.typeGroup.value.flying)}
value={utils.typeGroup.value.flying}
Expand All @@ -97,7 +97,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'dragon',
utils.typeGroup.value.dragon,
)}
onChange={this.handleChange(utils.typeGroup.value.dragon)}
value={utils.typeGroup.value.dragon}
Expand All @@ -109,7 +109,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'ice',
utils.typeGroup.value.ice,
)}
onChange={this.handleChange(utils.typeGroup.value.ice)}
value={utils.typeGroup.value.ice}
Expand All @@ -121,7 +121,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'rock',
utils.typeGroup.value.rock,
)}
onChange={this.handleChange(utils.typeGroup.value.rock)}
value={utils.typeGroup.value.rock}
Expand All @@ -133,7 +133,7 @@ class AbilityTypes extends React.Component {
control={
<Checkbox
checked={this.props.visibilityFilter.abilityTypes.includes(
'bug',
utils.typeGroup.value.bug,
)}
onChange={this.handleChange(utils.typeGroup.value.bug)}
value={utils.typeGroup.value.bug}
Expand Down

0 comments on commit 55a69fe

Please sign in to comment.