Update queryRequests.ts

This commit is contained in:
Nate Kelley 2025-04-10 16:09:22 -06:00
parent c6ff3e5b67
commit ee02b6c44a
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 6 additions and 2 deletions

View File

@ -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 = <TData = BusterMetricData>(
export const useGetMetricData = <TData = IBusterMetricData>(
{
id,
versionNumber: versionNumberProp