mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
5 lines
208 B
TypeScript
5 lines
208 B
TypeScript
import { LocationState } from 'app/types';
|
|
|
|
export const getRouteParamsId = (state: LocationState) => state.routeParams.id;
|
|
export const getRouteParamsPage = (state: LocationState) => state.routeParams.page;
|