aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-10-05 13:17:40 -0300
committerLibravatar Renard 2019-10-05 13:17:40 -0300
commitd952d13107ddc4b78e7c9945ac96959b7036f222 (patch)
treee5d62fbcb67a30c24ec7cb254aa55cfb7ef201d2 /src/App.js
parentfb94936553b5a9a9b853f3a81fda341948d7df98 (diff)
downloadbai-client-d952d13107ddc4b78e7c9945ac96959b7036f222.tar.gz
bai-client-d952d13107ddc4b78e7c9945ac96959b7036f222.tar.xz
bai-client-d952d13107ddc4b78e7c9945ac96959b7036f222.zip
Small bug fixes
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 0d667f5..7b16769 100644
--- a/src/App.js
+++ b/src/App.js
@@ -85,7 +85,7 @@ class App extends Component {
settings[key] = defaultSettings[key];
}
});
- localStorage.setItem("settings", JSON.stringify(defaultSettings));
+ localStorage.setItem("settings", JSON.stringify(settings));
this.setState({ nightMode: settings.nightMode });
}
}