From 896f407f46feef954faf0f5c998925842f72c488 Mon Sep 17 00:00:00 2001 From: Julia Friesel <julia.friesel@gmail.com> Date: Tue, 21 Aug 2018 21:23:29 +0200 Subject: [PATCH] Rename default low and high --- components/settings.js | 4 ++-- config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/settings.js b/components/settings.js index dca34840..f92ff333 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 13b5f493..d44ba54c 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 -- GitLab