Update games to make them visible
This commit is contained in:
parent
800d2a83b1
commit
b6450742d1
7 changed files with 29 additions and 36 deletions
|
|
@ -48,10 +48,8 @@ export default function Table({ data, headers }: Props): JSX.Element {
|
|||
// and because Astro don't allow me to pass JSX from an Astro file to a TSX file,
|
||||
// so I have to pass the formatted row as a string.
|
||||
// DON'T use this method on a public API
|
||||
if (header.formatter != null) {
|
||||
return (
|
||||
<div dangerouslySetInnerHTML={{ __html: header.formatter(data) }} />
|
||||
);
|
||||
if (header.hasCustomCell) {
|
||||
return <div dangerouslySetInnerHTML={{ __html: data.customCell }} />;
|
||||
}
|
||||
|
||||
if (header.type === HeaderType.Multiple) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue