diff --git a/src/components/LayerMapSwitches.js b/src/components/LayerMapSwitches.js index f0df207..7670614 100644 --- a/src/components/LayerMapSwitches.js +++ b/src/components/LayerMapSwitches.js @@ -88,7 +88,7 @@ class LayerMapSwitches extends React.Component { onChange={this.props.onChange('ambassadorLayer')} value="ambassadors" classes={{ - switchBase: ( (this.props.ambsMap) ? classes.iOSSwitchBaseBlue : classes.iOSSwitchBaseGreen ), + switchBase: classes.iOSSwitchBaseBlue, bar: classes.iOSBar, icon: classes.iOSIcon, iconChecked: classes.iOSIconChecked, @@ -102,7 +102,7 @@ class LayerMapSwitches extends React.Component { control={