No need for this if statement now
parent
90326955ba
commit
4dca66d140
|
@ -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 ?
|
||||||
|
|
Loading…
Reference in New Issue