diff --git a/components/ffSwap/setup.js b/components/ffSwap/setup.js index 6ba95d0..679be09 100644 --- a/components/ffSwap/setup.js +++ b/components/ffSwap/setup.js @@ -325,7 +325,7 @@ function Setup({ theme, handleNext }) { let approvalNotRequired = false if(fromAssetValue) { - if(['sUSD', 'ibEUR'].includes(fromAssetValue.symbol)) { + if(['sUSD'].includes(fromAssetValue.symbol) || (fromAssetValue.symbol === 'ibEUR' && toAssetValue.symbol === 'sUSD')) { approvalNotRequired = BigNumber(fromAssetValue.allowanceV2).gte(fromAmountValue) || ((!fromAmountValue || fromAmountValue === '') && BigNumber(fromAssetValue.allowanceV2).gt(0) ) } else { approvalNotRequired = BigNumber(fromAssetValue.allowanceV3).gte(fromAmountValue) || ((!fromAmountValue || fromAmountValue === '') && BigNumber(fromAssetValue.allowanceV3).gt(0) ) diff --git a/components/navigation/navigation.js b/components/navigation/navigation.js index 6bce086..0b5d77c 100644 --- a/components/navigation/navigation.js +++ b/components/navigation/navigation.js @@ -512,7 +512,7 @@ function Navigation(props) { - Version 0.8.1 + Version 0.8.2 { warningOpen && }