Skip to content

Commit

Permalink
mo
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Dec 6, 2024
1 parent 30bfd33 commit 16de3e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {GraphQueryItem} from '../app/GraphQueryImpl';
import {indexedDBAsyncMemoize} from '../app/Util';
import {AssetKey} from '../assets/types';
import {AssetGroupSelector, PipelineSelector} from '../graphql/types';
import {useBlockTraceUntilTrue} from '../performance/TraceContext';
import {useIndexedDBCachedQuery} from '../search/useIndexedDBCachedQuery';

export interface AssetGraphFetchScope {
Expand Down Expand Up @@ -165,6 +166,7 @@ export function useAssetGraphData(opsQuery: string, options: AssetGraphFetchScop
]);

const loading = fetchResult.loading || graphDataLoading;
useBlockTraceUntilTrue('useAssetGraphData', !loading);
return {
loading,
fetchResult,
Expand Down

0 comments on commit 16de3e2

Please sign in to comment.