diff --git a/superset-frontend/src/components/DatePicker/index.tsx b/superset-frontend/src/components/DatePicker/index.tsx
index ed79c69e9da..a9b1f465f43 100644
--- a/superset-frontend/src/components/DatePicker/index.tsx
+++ b/superset-frontend/src/components/DatePicker/index.tsx
@@ -16,9 +16,17 @@
* specific language governing permissions and limitations
* under the License.
*/
-import { DatePicker as AntdDatePicker } from 'antd-v5';
+import { DatePicker as AntdDatePicker, DatePickerProps } from 'antd-v5';
+import { css } from '@superset-ui/core';
-export const DatePicker = AntdDatePicker;
+export const DatePicker = (props: DatePickerProps) => (
+
+);
// Disable ESLint rule to allow tsc to infer proper type for RangePicker.
// eslint-disable-next-line prefer-destructuring
diff --git a/superset-frontend/src/explore/components/controls/TimeOffsetControl.tsx b/superset-frontend/src/explore/components/controls/TimeOffsetControl.tsx
index e4a446c716e..655d5565fd4 100644
--- a/superset-frontend/src/explore/components/controls/TimeOffsetControl.tsx
+++ b/superset-frontend/src/explore/components/controls/TimeOffsetControl.tsx
@@ -23,7 +23,6 @@ import {
parseDttmToDate,
BinaryAdhocFilter,
SimpleAdhocFilter,
- css,
customTimeRangeDecode,
computeCustomDateTime,
fetchTimeRange,
@@ -223,9 +222,6 @@ export default function TimeOffsetControls({
onChange(datetime ? datetime.format(DAYJS_FORMAT) : '')
}