Skip to content

Commit

Permalink
fix: alliance staking terra direct link (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick134-bit authored Sep 11, 2024
1 parent 6a48b3e commit d1e20c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const useLiquidityAlliancePositions = (lp_token?: any) => {
refetchOnWindowFocus: false,
cacheTime: 10 * 60 * 1000,
staleTime: 5 * 60 * 1000,
enabled: chainId === 'phoenix-1' && lp_token !== null,
enabled: chainId === 'phoenix-1' && lp_token !== null && Boolean(cosmWasmClient),
},
)
}
Expand Down Expand Up @@ -117,7 +117,7 @@ export const useFetchLiquidityAlliances = (searchForToken?: string) => {
),
{
refetchInterval: 1 * 60 * 1000,
enabled: chainId === 'phoenix-1',
enabled: chainId === 'phoenix-1' && Boolean(cosmWasmClient),
cacheTime: 12 * 60 * 60 * 1000,
staleTime: 6 * 60 * 1000,
},
Expand Down

0 comments on commit d1e20c8

Please sign in to comment.