yearn / yearn-finance-v3

Yearn Finance Web App v3
https://yearn.finance
124 stars 140 forks source link

fix: disable zaps on unsupported networks #697

Closed xgambitox closed 2 years ago

xgambitox commented 2 years ago

Description

Disables zaps for networks other than Ethereum Mainnet

Motivation and Context

Vault deposit and withdraw modals on fantom and arbitrum are displaying other tokens as if they allow zaps.

A better solution can be worked after to make it dynamically and refactor this temp solution.

How Has This Been Tested?

Tested locally on all networks.

aws-amplify-us-east-1[bot] commented 2 years ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-697.d27dgpz01hmbvx.amplifyapp.com