Consts are constant

This commit is contained in:
David Baker 2020-04-28 09:49:03 +01:00
parent 4dca66d140
commit cad2f4d27d

View File

@ -200,7 +200,7 @@ export default class DeviceListener {
// as long as cross-signing isn't ready,
// you can't see or dismiss any device toasts
if (crossSigningReady) {
const haveUnverifiedDevices = false;
let haveUnverifiedDevices = false;
const devices = await cli.getStoredDevicesForUser(cli.getUserId());
for (const device of devices) {