Fixes lack of <tbody> in header metadata table
parent
3ea02314b9
commit
21b04af524
|
@ -91,18 +91,20 @@ export default class Header extends ImmutablePureComponent {
|
||||||
|
|
||||||
{metadata.length && (
|
{metadata.length && (
|
||||||
<table className='account__metadata'>
|
<table className='account__metadata'>
|
||||||
{(() => {
|
<tbody>
|
||||||
let data = [];
|
{(() => {
|
||||||
for (let i = 0; i < metadata.length; i++) {
|
let data = [];
|
||||||
data.push(
|
for (let i = 0; i < metadata.length; i++) {
|
||||||
<tr key={i}>
|
data.push(
|
||||||
<th scope='row'><div dangerouslySetInnerHTML={{ __html: emojify(metadata[i][0]) }} /></th>
|
<tr key={i}>
|
||||||
<td><div dangerouslySetInnerHTML={{ __html: emojify(metadata[i][1]) }} /></td>
|
<th scope='row'><div dangerouslySetInnerHTML={{ __html: emojify(metadata[i][0]) }} /></th>
|
||||||
</tr>
|
<td><div dangerouslySetInnerHTML={{ __html: emojify(metadata[i][1]) }} /></td>
|
||||||
);
|
</tr>
|
||||||
}
|
);
|
||||||
return data;
|
}
|
||||||
})()}
|
return data;
|
||||||
|
})()}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
) || null}
|
) || null}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue