Skip to content

Commit

Permalink
fix: remove duplicate eur
Browse files Browse the repository at this point in the history
  • Loading branch information
Korokoe committed May 28, 2022
1 parent 7e0054b commit 7ec6345
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/ffSwap/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function Setup({ theme, handleNext }) {
const _storeAssets = stores.fixedForexStore.getStore('assets')
const storeSwapAssets = stores.fixedForexStore.getStore('swapFromAssets')

const storeAssets = _storeAssets.filter(e => !e.shouldUseNewABI)
const storeAssets = _storeAssets.filter(e => !e.shouldUseNewABI).filter(e => e.gauge.address !== '0x38039dD47636154273b287F74C432Cac83Da97e2')
if(storeAssets.length > 0 && (toAssetValue == null || force)) {
let tav = ''
if(localFromAsset) {
Expand Down Expand Up @@ -103,7 +103,8 @@ function Setup({ theme, handleNext }) {
const _storeAssets = stores.fixedForexStore.getStore('assets')
const storeSwapAssets = stores.fixedForexStore.getStore('swapFromAssets')
const storeBreaker = stores.fixedForexStore.getStore('breaker')
const storeAssets = _storeAssets.filter(e => !e.shouldUseNewABI)
const storeAssets = _storeAssets.filter(e => !e.shouldUseNewABI).filter(e => e.gauge.address !== '0x38039dD47636154273b287F74C432Cac83Da97e2')


let excludeMim = storeSwapAssets.filter((a) => { return a.symbol !== 'MIM' })

Expand Down

0 comments on commit 7ec6345

Please sign in to comment.