Skip to content

Commit

Permalink
fix: isssue
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Oct 10, 2023
1 parent 7f1f39f commit 08bcea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/constants/networks/matic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const maticInfo: EVMNetworkInfo = {
'0x3D6AfE2fB73fFEd2E3dD00c501A174554e147a43',
'0xf2BcDf38baA52F6b0C1Db5B025DfFf01Ae1d6dBd',
],
'farmV2.1S': ['0x15390f6939AA48F9796233E6144f1218721265Bb'],
'farmV2.1S': [],
},
limitOrder: '*',
averageBlockTimeInSeconds: 2.6,
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useElasticLegacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ export const useRemoveLiquidityLegacy = (
const { library } = useWeb3React()

const { token0, token1, position, usd } = parsePosition(item, chainId, tokenPrices)
const feeValue0 = CurrencyAmount.fromRawAmount(unwrappedToken(token0), feeRewards[item.id][0])
const feeValue1 = CurrencyAmount.fromRawAmount(unwrappedToken(token1), feeRewards[item.id][1])
const feeValue0 = CurrencyAmount.fromRawAmount(unwrappedToken(token0), feeRewards[item.id]?.[0] || '0')
const feeValue1 = CurrencyAmount.fromRawAmount(unwrappedToken(token1), feeRewards[item.id]?.[1] || '0')

const [allowedSlippage] = useUserSlippageTolerance()
const deadline = useTransactionDeadline()
Expand Down

0 comments on commit 08bcea2

Please sign in to comment.