mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-01 11:51:41 +02:00
No need for this if statement now
This commit is contained in:
parent
7da2850a2e
commit
f7c881a462
@ -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…
x
Reference in New Issue
Block a user