Skip to content

Commit fc9bc17

Browse files
authored
fix: CI failture due to Default React import (apache#29110)
1 parent 066f6b1 commit fc9bc17

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

superset-frontend/src/explore/components/controls/DateFilterControl/components/CurrentCalendarFrame.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
import React, { useEffect } from 'react';
19+
import { useEffect } from 'react';
2020
import { t } from '@superset-ui/core';
2121
import { Radio } from 'src/components/Radio';
2222
import {

superset-frontend/src/explore/components/controls/DateFilterControl/tests/CurrentCalendarFrame.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
import React from 'react';
2019
import { render } from '@testing-library/react';
2120
import '@testing-library/jest-dom/extend-expect'; // For advanced DOM assertions
2221
import { CurrentCalendarFrame } from '../components/CurrentCalendarFrame';

0 commit comments

Comments
 (0)