Skip to content

Commit

Permalink
fix: typo (#1392)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeatt authored Jul 3, 2023
1 parent 70bc8e9 commit 81337c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/hooks/api/amm/use-get-account-pools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface AccountPoolsData {
accountLiquidityUSD: Big;
}

const getAccountLiqudityPools = async (
const getAccountLiquidityPools = async (
accountId: AccountId,
pools: LiquidityPool[],
prices: Prices
Expand Down Expand Up @@ -67,7 +67,7 @@ const useGetAccountPools = (): UseGetAccountProvidedLiquidity => {
const queryKey = ['account-pools', accountId];
const { data, error, refetch: refetchQuery } = useQuery({
queryKey: ['account-pools', accountId],
queryFn: () => accountId && liquidityPools && prices && getAccountLiqudityPools(accountId, liquidityPools, prices),
queryFn: () => accountId && liquidityPools && prices && getAccountLiquidityPools(accountId, liquidityPools, prices),
enabled: !!accountId && !!liquidityPools && !!prices,
refetchInterval: BLOCKTIME_REFETCH_INTERVAL
});
Expand Down

2 comments on commit 81337c5

@vercel
Copy link

@vercel vercel bot commented on 81337c5 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 81337c5 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.