From d952d13107ddc4b78e7c9945ac96959b7036f222 Mon Sep 17 00:00:00 2001 From: Renard Date: Sat, 5 Oct 2019 13:17:40 -0300 Subject: Small bug fixes --- src/App.js | 2 +- src/Board.js | 8 +++----- src/Settings.js | 6 ++---- 3 files changed, 6 insertions(+), 10 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 }); } } diff --git a/src/Board.js b/src/Board.js index 6992bd3..5560ada 100644 --- a/src/Board.js +++ b/src/Board.js @@ -144,11 +144,9 @@ class Board extends Component { {currentBoard.name} /{currentBoard.dir}/ -

-

-

+