From 3afe7fe9f2e168656cd9177eed6a69e4793db720 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Tue, 8 Aug 2023 12:37:57 -0500 Subject: [PATCH] fix: add back correct fellback setter (#7102) --- src/state/routing/slice.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state/routing/slice.ts b/src/state/routing/slice.ts index 3020682fcc..90ae09e89c 100644 --- a/src/state/routing/slice.ts +++ b/src/state/routing/slice.ts @@ -137,8 +137,9 @@ export const routingApi = createApi({ ) }, async queryFn(args, _api, _extraOptions, fetch) { - const fellBack = false + let fellBack = false if (shouldUseAPIRouter(args)) { + fellBack = true try { const { tokenInAddress,