Add tbody to silence React warning

This commit is contained in:
J. Ryan Stinnett 2019-11-29 11:55:36 +00:00
parent c6e56d98b3
commit a21285143f

View file

@ -75,7 +75,7 @@ export default class CrossSigningPanel extends React.PureComponent {
return ( return (
<div> <div>
<table className="mx_CrossSigningPanel_statusList"> <table className="mx_CrossSigningPanel_statusList"><tbody>
<tr> <tr>
<td>{_t("Cross-signing public keys:")}</td> <td>{_t("Cross-signing public keys:")}</td>
<td>{crossSigningPublicKeysOnDevice ? _t("on device") : _t("not found")}</td> <td>{crossSigningPublicKeysOnDevice ? _t("on device") : _t("not found")}</td>
@ -88,7 +88,7 @@ export default class CrossSigningPanel extends React.PureComponent {
<td>{_t("Secret storage public key:")}</td> <td>{_t("Secret storage public key:")}</td>
<td>{secretStorageKeyInAccount ? _t("in account data") : _t("not found")}</td> <td>{secretStorageKeyInAccount ? _t("in account data") : _t("not found")}</td>
</tr> </tr>
</table> </tbody></table>
<div className="mx_CrossSigningPanel_buttonRow"> <div className="mx_CrossSigningPanel_buttonRow">
<AccessibleButton kind="primary" onClick={this._bootstrapSecureSecretStorage}> <AccessibleButton kind="primary" onClick={this._bootstrapSecureSecretStorage}>
{_t("Bootstrap Secure Secret Storage")} {_t("Bootstrap Secure Secret Storage")}