No need for this if statement now
This commit is contained in:
parent
90326955ba
commit
4dca66d140
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue