Skip to content

Commit

Permalink
update lp balance when change account
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Dec 4, 2023
1 parent 07861bc commit 7ac30fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Pools/hooks/useGetLpBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const useGetLpBalance = ({ info: pairInfoData }: PoolDetail) => {
const [address] = useConfigReducer('address');

const { data: lpBalanceInfoData, refetch: refetchLpBalanceInfoData } = useQuery(
['liquidity-token', pairInfoData],
['liquidity-token', address, pairInfoData],
() => {
return fetchLpBalance(address, pairInfoData.liquidityAddr);
},
Expand Down

0 comments on commit 7ac30fa

Please sign in to comment.