Skip to content

Commit

Permalink
chore(datepicker): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
msyavuz committed Jan 1, 2025
1 parent 9c0cb0c commit 056dc14
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
import { useEffect, useState } from 'react';
import { useSelector } from 'react-redux';
import type { PickerLocale } from 'antd-v5/lib/date-picker/generatePicker';
import { isInteger } from 'lodash';
import { t, customTimeRangeDecode } from '@superset-ui/core';
import { InfoTooltipWithTrigger } from '@superset-ui/chart-controls';
Expand All @@ -27,7 +26,6 @@ import { InputNumber } from 'src/components/Input';
import { DatePicker } from 'src/components/DatePicker';
import { Radio } from 'src/components/Radio';
import Select from 'src/components/Select/Select';
import locale from 'antd-v5/locale/es_ES';
import {
SINCE_GRAIN_OPTIONS,
SINCE_MODE_OPTIONS,
Expand Down Expand Up @@ -172,7 +170,6 @@ export function CustomFrame(props: FrameComponentProps) {
onChange('sinceDatetime', datetime.format(DAYJS_FORMAT))
}
allowClear={false}
locale={datePickerLocale}
getPopupContainer={(triggerNode: HTMLElement) =>
props.isOverflowingFilterBar
? (triggerNode.parentNode as HTMLElement)
Expand Down Expand Up @@ -232,7 +229,6 @@ export function CustomFrame(props: FrameComponentProps) {
onChange('untilDatetime', datetime.format(DAYJS_FORMAT))
}
allowClear={false}
locale={datePickerLocale}
getPopupContainer={(triggerNode: HTMLElement) =>
props.isOverflowingFilterBar
? (triggerNode.parentNode as HTMLElement)
Expand Down

0 comments on commit 056dc14

Please sign in to comment.