"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useSyntheticsServiceAllowed = void 0; var _reactRedux = require("react-redux"); var _react = require("react"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ // import { syntheticsServiceAllowedSelector } from '../../../state/selectors'; // import { getSyntheticsServiceAllowed } from '../../../state/actions'; const useSyntheticsServiceAllowed = () => { const dispatch = (0, _reactRedux.useDispatch)(); (0, _react.useEffect)(() => { // dispatch(getSyntheticsServiceAllowed.get()); }, [dispatch]); // return useSelector(syntheticsServiceAllowedSelector); // TODO Implement for Synthetics App return { isAllowed: true, signupUrl: undefined, loading: false }; }; exports.useSyntheticsServiceAllowed = useSyntheticsServiceAllowed;