restore use v3 (#2449)
This commit is contained in:
parent
81b8afdd3d
commit
cd4a2313ac
@ -160,7 +160,7 @@ export function useDerivedSwapInfo(toggledVersion: Version | undefined): {
|
|||||||
// skip if other version is toggled
|
// skip if other version is toggled
|
||||||
const v2Trade = useBestV2Trade(
|
const v2Trade = useBestV2Trade(
|
||||||
isExactIn ? TradeType.EXACT_INPUT : TradeType.EXACT_OUTPUT,
|
isExactIn ? TradeType.EXACT_INPUT : TradeType.EXACT_OUTPUT,
|
||||||
parsedAmount,
|
toggledVersion !== Version.v3 ? parsedAmount : undefined,
|
||||||
(isExactIn ? outputCurrency : inputCurrency) ?? undefined
|
(isExactIn ? outputCurrency : inputCurrency) ?? undefined
|
||||||
)
|
)
|
||||||
const v3Trade = useBestV3Trade(
|
const v3Trade = useBestV3Trade(
|
||||||
|
Loading…
Reference in New Issue
Block a user