1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

No need for this if statement now

This commit is contained in:
David Baker
2020-04-28 09:43:24 +01:00
parent 90326955ba
commit 4dca66d140

View File

@@ -181,9 +181,7 @@ function DeviceItem({userId, device}) {
});
const onDeviceClick = () => {
if (!isVerified) {
verifyDevice(cli.getUser(userId), device);
}
};
const deviceName = device.ambiguous ?