Prefer const over let

This commit is contained in:
Linus Unnebäck
2018-10-10 21:21:29 +02:00
parent fa7d917d0d
commit ffb809bbca
8 changed files with 11 additions and 11 deletions

View File

@@ -98,7 +98,7 @@ function getSystemInfo () {
function getTorrentStats (state) {
const count = state.saved.torrents.length
let sizeMB = 0
let byStatus = {
const byStatus = {
new: { count: 0, sizeMB: 0 },
downloading: { count: 0, sizeMB: 0 },
seeding: { count: 0, sizeMB: 0 },