From 97bfee48e1135700068a1e588ddd8eedd5aa019c Mon Sep 17 00:00:00 2001 From: GitStart <1501599+gitstart@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:33:36 +0530 Subject: [PATCH] fix: slider deprecation warning from antd (#2478) Co-authored-by: gitstart Co-authored-by: Chintan Sudani <46838508+techchintan@users.noreply.github.com> Co-authored-by: Palash Gupta --- .../container/Trace/Filters/Panel/PanelBody/Duration/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/container/Trace/Filters/Panel/PanelBody/Duration/index.tsx b/frontend/src/container/Trace/Filters/Panel/PanelBody/Duration/index.tsx index 6fa6c9ec53..1524d4060a 100644 --- a/frontend/src/container/Trace/Filters/Panel/PanelBody/Duration/index.tsx +++ b/frontend/src/container/Trace/Filters/Panel/PanelBody/Duration/index.tsx @@ -210,7 +210,7 @@ function Duration(): JSX.Element { min={Number(getMs(String(preLocalMinDuration.current || 0)))} max={Number(getMs(String(preLocalMaxDuration.current || 0)))} range - tipFormatter={TipComponent} + tooltip={{ formatter: TipComponent }} onChange={([min, max]): void => { onRangeSliderHandler([String(min), String(max)]); }}