Skip to content

Commit

Permalink
Organize imports on custom panels home file (#377)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 authored Apr 17, 2023
1 parent 529623e commit f06b18c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions public/components/custom_panels/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { EuiBreadcrumb, EuiGlobalToastList, EuiLink, ShortDate } from '@elastic/eui';
import { EuiBreadcrumb, EuiGlobalToastList, ShortDate } from '@elastic/eui';
import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
import _ from 'lodash';
import React, { ReactChild, useState } from 'react';
import { useDispatch } from 'react-redux';
// eslint-disable-next-line @osd/eslint/module_migration
Expand All @@ -14,7 +13,6 @@ import { HashRouter, Route, RouteComponentProps, Switch } from 'react-router-dom
import { CoreStart, SavedObjectsStart } from '../../../../../src/core/public';
import {
CUSTOM_PANELS_API_PREFIX,
CUSTOM_PANELS_DOCUMENTATION_URL,
CUSTOM_PANELS_SAVED_OBJECT_TYPE,
} from '../../../common/constants/custom_panels';
import {
Expand All @@ -24,15 +22,12 @@ import {
OBSERVABILITY_BASE,
SAVED_OBJECTS,
} from '../../../common/constants/shared';
import { ObservabilityPanelAttrs } from '../../../common/types/custom_panels';
import { coreRefs } from '../../framework/core_refs';
import DSLService from '../../services/requests/dsl';
import PPLService from '../../services/requests/ppl';
import { CustomPanelTable } from './custom_panel_table';
import { CustomPanelView } from './custom_panel_view';
import { isNameValid } from './helpers/utils';
import { CustomPanelViewSO } from './custom_panel_view_so';
import { coreRefs } from '../../framework/core_refs';
import { deletePanel, fetchPanels, uuidRx } from './redux/panel_slice';

// import { ObjectFetcher } from '../common/objectFetcher';
Expand Down

0 comments on commit f06b18c

Please sign in to comment.