You've already forked matrix-react-sdk
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:
@@ -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")}
|
||||||
|
|||||||
Reference in New Issue
Block a user