refactor: Move fetchTimeRange to core package (#27852)

This commit is contained in:
Kamil Gabryjelski
2024-04-03 18:34:23 +02:00
committed by GitHub
parent 30bc8f06dc
commit a498d6d10f
72 changed files with 623 additions and 430 deletions

View File

@@ -17,9 +17,8 @@
* under the License.
*/
import React from 'react';
import { t } from '@superset-ui/core';
import { ErrorSource, t, SupersetError } from '@superset-ui/core';
import getErrorMessageComponentRegistry from './getErrorMessageComponentRegistry';
import { SupersetError, ErrorSource } from './types';
import ErrorAlert from './ErrorAlert';
const DEFAULT_TITLE = t('Unexpected error');