No need for this if statement now

This commit is contained in:
David Baker 2020-04-28 09:43:24 +01:00
parent 90326955ba
commit 4dca66d140

View file

@ -181,9 +181,7 @@ function DeviceItem({userId, device}) {
}); });
const onDeviceClick = () => { const onDeviceClick = () => {
if (!isVerified) { verifyDevice(cli.getUser(userId), device);
verifyDevice(cli.getUser(userId), device);
}
}; };
const deviceName = device.ambiguous ? const deviceName = device.ambiguous ?