Fix hydration issues of thead containing text nodes

This commit is contained in:
Michael Telatynski 2026-03-27 14:07:13 +00:00
parent 50ab18a714
commit 2b7ea9b1bb
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D

View File

@ -110,7 +110,11 @@ function KeyStorage(): JSX.Element {
return (
<table aria-label={_t("devtools|crypto|key_storage")}>
<thead>{_t("devtools|crypto|key_storage")}</thead>
<thead>
<tr>
<th colSpan={2}>{_t("devtools|crypto|key_storage")}</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">{_t("devtools|crypto|key_backup_latest_version")}</th>
@ -212,7 +216,11 @@ function CrossSigning(): JSX.Element {
return (
<table aria-label={_t("devtools|crypto|cross_signing")}>
<thead>{_t("devtools|crypto|cross_signing")}</thead>
<thead>
<tr>
<th colSpan={2}>{_t("devtools|crypto|cross_signing")}</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">{_t("devtools|crypto|cross_signing_status")}</th>
@ -303,7 +311,11 @@ function Session(): JSX.Element {
return (
<table aria-label={_t("devtools|crypto|session")}>
<thead>{_t("devtools|crypto|session")}</thead>
<thead>
<tr>
<th colSpan={2}>{_t("devtools|crypto|session")}</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">{_t("devtools|crypto|device_id")}</th>