fix(frontend): migrate type changes

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-10-20 08:49:46 +02:00 committed by renovate[bot]
parent 2f5dadb981
commit 61362f9175
37 changed files with 80 additions and 79 deletions

View file

@ -38,7 +38,7 @@ export const CsvTable: React.FC<CsvTableProps> = ({
}, [code, delimiter, showHeader])
const renderTableHeader = useMemo(() => {
return headerRow.length === 0 ? undefined : (
return headerRow.length === 0 ? null : (
<thead>
<tr>
{headerRow.map((column, columnNumber) => (