mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
No need for this if statement now
This commit is contained in:
parent
7da2850a2e
commit
f7c881a462
1 changed files with 1 additions and 3 deletions
|
@ -181,9 +181,7 @@ function DeviceItem({userId, device}) {
|
|||
});
|
||||
|
||||
const onDeviceClick = () => {
|
||||
if (!isVerified) {
|
||||
verifyDevice(cli.getUser(userId), device);
|
||||
}
|
||||
};
|
||||
|
||||
const deviceName = device.ambiguous ?
|
||||
|
|
Loading…
Reference in a new issue