fix: dont fetch a route for wrap transactions (#6102)
* fix: dont fetch a route for wrap transactions * refactor logic into useBestTrade * add mock for useWeb3React * remove unnecessary diff * fix tests * Update src/hooks/useBestTrade.ts Co-authored-by:Zach Pomerantz <zzmp@uniswap.org> * Update src/hooks/useBestTrade.ts Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org> * remove unnecessary wethContract reference --------- Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org>
Showing
Please register or sign in to comment