diff --git a/v2/perps-v2/ui/src/hooks/useLiquidations.ts b/v2/perps-v2/ui/src/hooks/useLiquidations.ts index 221f3d374..500a3efa1 100644 --- a/v2/perps-v2/ui/src/hooks/useLiquidations.ts +++ b/v2/perps-v2/ui/src/hooks/useLiquidations.ts @@ -103,9 +103,11 @@ export function useLiquidations() { pollInterval: 10000, }); + const isLoading = loading || marketConfigsLoading; + return { data: queryData?.positionLiquidateds ? parsedLiquidationData(queryData) : undefined, - loading, + loading: isLoading, error, }; }