mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 03:11:02 +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 = () => {
|
||||
if (!isVerified) {
|
||||
verifyDevice(cli.getUser(userId), device);
|
||||
}
|
||||
verifyDevice(cli.getUser(userId), device);
|
||||
};
|
||||
|
||||
const deviceName = device.ambiguous ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user