From 1534965c659d71ccee0db15241c8b9d770afa8ed Mon Sep 17 00:00:00 2001 From: "JUST.in DO IT" Date: Thu, 6 Jun 2024 16:14:33 -0700 Subject: [PATCH] fix: CI failture due to Default React import (#29110) --- .../DateFilterControl/components/CurrentCalendarFrame.tsx | 2 +- .../DateFilterControl/tests/CurrentCalendarFrame.test.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/components/CurrentCalendarFrame.tsx b/superset-frontend/src/explore/components/controls/DateFilterControl/components/CurrentCalendarFrame.tsx index 78fcacf5c05f9..7d1a3a7b78ea5 100644 --- a/superset-frontend/src/explore/components/controls/DateFilterControl/components/CurrentCalendarFrame.tsx +++ b/superset-frontend/src/explore/components/controls/DateFilterControl/components/CurrentCalendarFrame.tsx @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -import React, { useEffect } from 'react'; +import { useEffect } from 'react'; import { t } from '@superset-ui/core'; import { Radio } from 'src/components/Radio'; import { diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/tests/CurrentCalendarFrame.test.tsx b/superset-frontend/src/explore/components/controls/DateFilterControl/tests/CurrentCalendarFrame.test.tsx index ae33aa119ee3f..2b1f0754b410f 100644 --- a/superset-frontend/src/explore/components/controls/DateFilterControl/tests/CurrentCalendarFrame.test.tsx +++ b/superset-frontend/src/explore/components/controls/DateFilterControl/tests/CurrentCalendarFrame.test.tsx @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ -import React from 'react'; import { render } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; // For advanced DOM assertions import { CurrentCalendarFrame } from '../components/CurrentCalendarFrame';