Fix react warnings (#7946)

This commit is contained in:
Michael Telatynski 2022-03-02 14:29:45 +00:00 committed by GitHub
parent 3c858a723b
commit a39473810a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 10 deletions

View file

@ -75,14 +75,16 @@ export default class CryptographyPanel extends React.Component<IProps, IState> {
<div className='mx_SettingsTab_section mx_CryptographyPanel'>
<span className='mx_SettingsTab_subheading'>{ _t("Cryptography") }</span>
<table className='mx_SettingsTab_subsectionText mx_CryptographyPanel_sessionInfo'>
<tr>
<td>{ _t("Session ID:") }</td>
<td><code>{ deviceId }</code></td>
</tr>
<tr>
<td>{ _t("Session key:") }</td>
<td><code><b>{ identityKey }</b></code></td>
</tr>
<tbody>
<tr>
<td>{ _t("Session ID:") }</td>
<td><code>{ deviceId }</code></td>
</tr>
<tr>
<td>{ _t("Session key:") }</td>
<td><code><b>{ identityKey }</b></code></td>
</tr>
</tbody>
</table>
{ importExportButtons }
{ noSendUnverifiedSetting }