diff options
Diffstat (limited to 'src/App.js')
-rw-r--r-- | src/App.js | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -63,12 +63,8 @@ class App extends Component { addToHistory(song) { this.setState(prevState => ({ - history: [...prevState.history, song] + history: [song, ...prevState.history] })); - let historyContainer = document.getElementById("historyContainer"); - if (historyContainer != null) { - historyContainer.scrollTop = historyContainer.scrollHeight; - } } compareSongs() { |