diff --git a/react/ChartwerkBarPod.tsx b/react/ChartwerkBarPod.tsx index 9563e53..826a14b 100644 --- a/react/ChartwerkBarPod.tsx +++ b/react/ChartwerkBarPod.tsx @@ -45,7 +45,7 @@ export function ChartwerkReactBarPod(props: ChartwerkBarPodProps) { // because it creates new pod anyway pod.updateData(props.series, props.options); } - }, [chart, props.id, props.options]); + }, [chart, props.id, props.series, props.options]); // TODO: it's a hack to render the BarPod right after the div appears in DOM setTimeout(() => {