1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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 (
<div>
<table className="mx_CrossSigningPanel_statusList">
<table className="mx_CrossSigningPanel_statusList"><tbody>
<tr>
<td>{_t("Cross-signing public keys:")}</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>{secretStorageKeyInAccount ? _t("in account data") : _t("not found")}</td>
</tr>
</table>
</tbody></table>
<div className="mx_CrossSigningPanel_buttonRow">
<AccessibleButton kind="primary" onClick={this._bootstrapSecureSecretStorage}>
{_t("Bootstrap Secure Secret Storage")}