Skip to content

Commit

Permalink
leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Aug 25, 2020
1 parent ce0c6bc commit bfdf64c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@

import { useSelector } from 'react-redux';
import { useMemo } from 'react';

import { useKibana } from '../../../../common/lib/kibana';
import { EndpointState } from '../types';
import {
MANAGEMENT_STORE_ENDPOINTS_NAMESPACE,
MANAGEMENT_STORE_GLOBAL_NAMESPACE,
} from '../../../common/constants';
import { State } from '../../../../common/store';

export function useEndpointSelector<TSelected>(selector: (state: EndpointState) => TSelected) {
return useSelector(function (state: State) {
return selector(
Expand Down

0 comments on commit bfdf64c

Please sign in to comment.