mirror of
https://github.com/apache/superset.git
synced 2026-05-31 21:29:19 +00:00
refactor: Move fetchTimeRange to core package (#27852)
This commit is contained in:
committed by
GitHub
parent
30bc8f06dc
commit
a498d6d10f
@@ -17,13 +17,12 @@
|
||||
* under the License.
|
||||
*/
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { t, SupersetClient } from '@superset-ui/core';
|
||||
import { t, SupersetClient, getClientErrorObject } from '@superset-ui/core';
|
||||
import ControlHeader from 'src/explore/components/ControlHeader';
|
||||
import { Select } from 'src/components';
|
||||
import { SelectOptionsType, SelectProps } from 'src/components/Select/types';
|
||||
import { SelectValue, LabeledValue } from 'antd/lib/select';
|
||||
import withToasts from 'src/components/MessageToasts/withToasts';
|
||||
import { getClientErrorObject } from 'src/utils/getClientErrorObject';
|
||||
|
||||
type SelectAsyncProps = Omit<SelectProps, 'options' | 'ariaLabel' | 'onChange'>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user