Browse Source

fix watcher

react-bar-pod
vargburz 3 months ago
parent
commit
b440922dd3
  1. 2
      react/ChartwerkBarPod.tsx

2
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(() => {

Loading…
Cancel
Save