From e26aaddef0efbdd6b6fff81eaaddeba6809588f8 Mon Sep 17 00:00:00 2001 From: vargburz Date: Tue, 3 May 2022 21:15:59 +0300 Subject: [PATCH] fix comment --- src/components/Panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Panel.tsx b/src/components/Panel.tsx index 9f41129..9363cdf 100644 --- a/src/components/Panel.tsx +++ b/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(