Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Feb 10, 2021
1 parent a187532 commit cd7df2b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
import { i18n } from '@kbn/i18n';
import { FormattedRelative, FormattedMessage } from '@kbn/i18n/react';
import { InstallStatus } from '../../../../../types';
import { useLink, useStartServices, useUrlPagination } from '../../../../../hooks';
import { useLink, useUrlPagination } from '../../../../../hooks';
import { PACKAGE_POLICY_SAVED_OBJECT_TYPE } from '../../../../../constants';
import { LinkAndRevision, LinkAndRevisionProps } from '../../../../../components';
import { LinkedAgentCount } from '../../../../../components/linked_agent_count';
Expand Down Expand Up @@ -53,7 +53,6 @@ const AgentPolicyDetailLink = memo<{
children: ReactNode;
}>(({ agentPolicyId, revision, children }) => {
const { getHref } = useLink();
const { application } = useStartServices();

return (
<LinkAndRevision
Expand All @@ -74,7 +73,6 @@ interface PackagePoliciesPanelProps {
}
export const PackagePoliciesPage = ({ name, version }: PackagePoliciesPanelProps) => {
const { getPath } = useLink();
const { application } = useStartServices();
const getPackageInstallStatus = useGetPackageInstallStatus();
const packageInstallStatus = getPackageInstallStatus(name);
const { pagination, pageSizeOptions, setPagination } = useUrlPagination();
Expand Down Expand Up @@ -177,7 +175,7 @@ export const PackagePoliciesPage = ({ name, version }: PackagePoliciesPanelProps
},
},
],
[application]
[]
);

const noItemsMessage = useMemo(() => {
Expand Down

0 comments on commit cd7df2b

Please sign in to comment.