import { useContextSelector } from 'use-context-selector';
import context from './context';
function useSelector(selector) {
    return useContextSelector(context, ([state]) => selector(state));
}
export default useSelector;
//# sourceMappingURL=use-selector.js.map