Skip to content

Commit

Permalink
remove unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
parkiino committed Jun 26, 2020
1 parent 6bd2f89 commit 327caee
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, { memo } from 'react';
import { FormattedMessage } from '@kbn/i18n/react';
import { EuiCallOut, EuiText, EuiTitle, EuiSpacer } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { useKibana } from '../../../../../../../../../src/plugins/kibana_react/public';
import { LinkToApp } from '../../../../../common/components/endpoint/link_to_app';
import {
CustomConfigureDatasourceContent,
Expand All @@ -22,7 +21,6 @@ import { getPolicyDetailPath } from '../../../../common/routing';
*/
export const ConfigureEndpointDatasource = memo<CustomConfigureDatasourceContent>(
({ from, datasourceId }: CustomConfigureDatasourceProps) => {
const { services } = useKibana();
let policyUrl = '';
if (from === 'edit' && datasourceId) {
policyUrl = getPolicyDetailPath(datasourceId);
Expand Down

0 comments on commit 327caee

Please sign in to comment.