diff --git a/src/components/GoogleChartDataTable.tsx b/src/components/GoogleChartDataTable.tsx index 4b277d9e..5331312a 100644 --- a/src/components/GoogleChartDataTable.tsx +++ b/src/components/GoogleChartDataTable.tsx @@ -151,7 +151,7 @@ export class GoogleChartDataTableInner extends React.Component< newData ); } - if (data !== null) { + if (data) { if (Array.isArray(data)) { dataTable = google.visualization.arrayToDataTable(data); } else {