mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-01 02:52:00 +08:00

* feat: layout is updated * feat: layout is updated * feat: layout is updated * chore: types and build pipeline is fixed --------- Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
14 lines
309 B
TypeScript
14 lines
309 B
TypeScript
import useUrlQuery from 'hooks/useUrlQuery';
|
|
|
|
import { getMetricsApplicationKey } from './utils';
|
|
|
|
const useMetricsApplicationTabKey = (): string => {
|
|
const urlParams = useUrlQuery();
|
|
|
|
const tab = urlParams.get('tab');
|
|
|
|
return getMetricsApplicationKey(tab);
|
|
};
|
|
|
|
export default useMetricsApplicationTabKey;
|