Skip to content

Commit

Permalink
Fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Oct 17, 2023
1 parent e073cbd commit b0a14e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function Chart(props: TypeChartChartProps<GeoChartType>): JSX.Element {
* @returns The whole Chart container JSX.Element or an empty div
*/
const renderChartContainer = (): JSX.Element => {
if (options && options.geochart) {
if (data && options && options.geochart) {
return (
<div style={style} className={styles.chartContainer}>
<div className={styles.chartContainerGrid1}>{renderChart()}</div>
Expand Down

0 comments on commit b0a14e7

Please sign in to comment.