Browse Source

codestyle fixes

pull/16/head
glitch4347 1 year ago
parent
commit
08b128ea91
  1. 6
      react/ChartwerkLinePod.tsx

6
react/ChartwerkLinePod.tsx

@ -95,13 +95,9 @@ export const ChartwerkLinePod = forwardRef<HTMLDivElement, PropsWithChildren<Cha
eventsCallbacks,
}
);
setPod(
newPod
);
console.log('initial chart render');
setPod(newPod);
newPod.render();
} else {
console.log('update chart');
pod.updateData(props.series, {
...props.options,
eventsCallbacks,

Loading…
Cancel
Save