Browse Source

fix comment

merge-requests/3/head
vargburz 2 years ago
parent
commit
e26aaddef0
  1. 2
      src/components/Panel.tsx

2
src/components/Panel.tsx

@ -20,7 +20,7 @@ export function Panel({ options, data, width, height, timeZone, timeRange, onCha
const chartwerkOptions = new Options(options).getChartwerkOptions();
let chartContainer = useRef(null);
// we request animation frame here because at the moment we need an existing DOM-element at the moment we render the pod
// we request animation frame here because we need an existing DOM-element at the moment we render the pod
window.requestAnimationFrame(() => {
// TODO: switch / case pod type
const pod = new ChartwerkGaugePod(

Loading…
Cancel
Save