import { usePageUrlState } from '../../util/url_state' ; import { TimeSeriesExplorerAppState } from '../../../../common/types/locator' ; import { ML_PAGES } from '../../../../common/constants/locator' ; export function useTimeSeriesExplorerUrlState ( ) { return usePageUrlState < TimeSeriesExplorerAppState > ( ML_PAGES . SINGLE_METRIC_VIEWER ) ; }