onClick to separate line

pull/21833/head
J. Ryan Stinnett 2020-01-28 19:55:53 +00:00
parent 6fb8f6eef1
commit 32cb3b8ccb
1 changed files with 2 additions and 1 deletions

View File

@ -185,8 +185,9 @@ function DeviceItem({userId, device}) {
const trustedLabel = isVerified ? _t("Trusted") : _t("Not trusted"); const trustedLabel = isVerified ? _t("Trusted") : _t("Not trusted");
return ( return (
<AccessibleButton <AccessibleButton
className={classes} onClick={onDeviceClick} className={classes}
title={device.deviceId} title={device.deviceId}
onClick={onDeviceClick}
> >
<div className={iconClasses} /> <div className={iconClasses} />
<div className="mx_UserInfo_device_name">{deviceName}</div> <div className="mx_UserInfo_device_name">{deviceName}</div>