fix: slider deprecation warning from antd (#2478)

Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Chintan Sudani <46838508+techchintan@users.noreply.github.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
GitStart 2023-03-22 11:33:36 +05:30 committed by GitHub
parent da23d9e087
commit 97bfee48e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ function Duration(): JSX.Element {
min={Number(getMs(String(preLocalMinDuration.current || 0)))} min={Number(getMs(String(preLocalMinDuration.current || 0)))}
max={Number(getMs(String(preLocalMaxDuration.current || 0)))} max={Number(getMs(String(preLocalMaxDuration.current || 0)))}
range range
tipFormatter={TipComponent} tooltip={{ formatter: TipComponent }}
onChange={([min, max]): void => { onChange={([min, max]): void => {
onRangeSliderHandler([String(min), String(max)]); onRangeSliderHandler([String(min), String(max)]);
}} }}