Update games to make them visible

This commit is contained in:
Alexander Navarro 2023-12-17 20:58:58 -03:00
parent 800d2a83b1
commit b6450742d1
7 changed files with 29 additions and 36 deletions

View file

@ -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) {