diff --git a/src/state/user/hooks.test.tsx b/src/state/user/hooks.test.tsx index 964465aa76..0c176748df 100644 --- a/src/state/user/hooks.test.tsx +++ b/src/state/user/hooks.test.tsx @@ -72,13 +72,13 @@ describe('useUserSlippageTolerance', () => { }) describe('useRouterPreference', () => { - it('returns `auto` by default', () => { + it('returns `x` by default', () => { const { result: { current: [routerPreference], }, } = renderHook(() => useRouterPreference()) - expect(routerPreference).toBe(RouterPreference.API) + expect(routerPreference).toBe(RouterPreference.X) }) }) diff --git a/src/state/user/reducer.ts b/src/state/user/reducer.ts index 4c32ebade7..6b4d42b6d0 100644 --- a/src/state/user/reducer.ts +++ b/src/state/user/reducer.ts @@ -65,7 +65,7 @@ function pairKey(token0Address: string, token1Address: string) { export const initialState: UserState = { selectedWallet, userLocale: null, - userRouterPreference: RouterPreference.API, + userRouterPreference: RouterPreference.X, userHideClosedPositions: false, userSlippageTolerance: SlippageTolerance.Auto, userSlippageToleranceHasBeenMigratedToAuto: true,