From 90cad4b792feba5647ad7fa382156a661ebfaf37 Mon Sep 17 00:00:00 2001 From: "Siyu Jiang (See-You John)" <91580504+jsy1218@users.noreply.github.com> Date: Tue, 18 Feb 2025 09:40:53 -0800 Subject: [PATCH] fix: enable mixed route eth <-> weth fix for web (#1019) --- lib/util/enableMixedRouteEthWeth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util/enableMixedRouteEthWeth.ts b/lib/util/enableMixedRouteEthWeth.ts index 221278f880..14ad93ecf1 100644 --- a/lib/util/enableMixedRouteEthWeth.ts +++ b/lib/util/enableMixedRouteEthWeth.ts @@ -2,6 +2,7 @@ export function enableMixedRouteEthWeth(requestSourceHeader?: string): boolean { switch (requestSourceHeader) { // only used for e2e-test purpose case 'e2e-test': + case 'uniswap-web': return true // TODO: enable once web, mobile, extension releases the FE bug fix for mixed route (https://uniswapteam.slack.com/archives/C07AD3507SQ/p1739296535359709?thread_ts=1739224900.129809&cid=C07AD3507SQ) // TODO: for mobile, we need to ensure backward compatibility with the old version, using app version (https://uniswapteam.slack.com/archives/C07AD3507SQ/p1739309767819639?thread_ts=1739224900.129809&cid=C07AD3507SQ)