diff --git a/components/settings.js b/components/settings.js index dca3484..f92ff33 100644 --- a/components/settings.js +++ b/components/settings.js @@ -63,8 +63,8 @@ class TempSlider extends Component { constructor(props) { super(props) this.state = { - min: config.temperatureScale.low, - max: config.temperatureScale.high + min: config.temperatureScale.defaultLow, + max: config.temperatureScale.defaultHigh } this.getStoredScale() } diff --git a/config.js b/config.js index 13b5f49..d44ba54 100644 --- a/config.js +++ b/config.js @@ -2,8 +2,8 @@ const config = { chartHeight: 350, columnWidth: 25, temperatureScale: { - low: 35, - high: 38, + defaultLow: 35, + defaultHigh: 38, min: 34, max: 40, units: 0.1