mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 16:14:42 +00:00
* feat: resource attribute is added in the exception * fix: build is fixed * chore: methods is updated to post * fix: build is fixed * fix: listErrors, countErrors API request body * chore: type of the function is updated * chore: convertRawQueriesToTraceSelectedTags is updated * fix: resource attribute is updated * chore: selected tags is updated * feat: key is updated --------- Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
10 lines
262 B
TypeScript
10 lines
262 B
TypeScript
import { useContext } from 'react';
|
|
|
|
import { ResourceContext } from './context';
|
|
import { IResourceAttributeProps } from './types';
|
|
|
|
const useResourceAttribute = (): IResourceAttributeProps =>
|
|
useContext(ResourceContext);
|
|
|
|
export default useResourceAttribute;
|