From ee02b6c44ac978d37b7ca3c3149e60d11057e419 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Apr 2025 16:09:22 -0600 Subject: [PATCH] Update queryRequests.ts --- web/src/api/buster_rest/metrics/queryRequests.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/api/buster_rest/metrics/queryRequests.ts b/web/src/api/buster_rest/metrics/queryRequests.ts index 621b45190..3f1364b8f 100644 --- a/web/src/api/buster_rest/metrics/queryRequests.ts +++ b/web/src/api/buster_rest/metrics/queryRequests.ts @@ -21,7 +21,11 @@ import { collectionQueryKeys } from '@/api/query_keys/collection'; import { useMemo } from 'react'; import { useBusterAssetsContextSelector } from '@/context/Assets/BusterAssetsProvider'; import { useGetUserFavorites } from '../users'; -import type { BusterMetricData, IBusterMetric } from '@/api/asset_interfaces/metric'; +import type { + BusterMetricData, + IBusterMetric, + IBusterMetricData +} from '@/api/asset_interfaces/metric'; import { create } from 'mutative'; import { useAddAssetToCollection, @@ -112,7 +116,7 @@ export const useGetMetricsList = ( /** * This is a hook that will use the version number from the URL params if it exists. */ -export const useGetMetricData = ( +export const useGetMetricData = ( { id, versionNumber: versionNumberProp