fix: add back correct fellback setter (#7102)

This commit is contained in:
Jordan Frankfurt 2023-08-08 12:37:57 -05:00 committed by GitHub
parent bd573724b9
commit 3afe7fe9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -137,8 +137,9 @@ export const routingApi = createApi({
) )
}, },
async queryFn(args, _api, _extraOptions, fetch) { async queryFn(args, _api, _extraOptions, fetch) {
const fellBack = false let fellBack = false
if (shouldUseAPIRouter(args)) { if (shouldUseAPIRouter(args)) {
fellBack = true
try { try {
const { const {
tokenInAddress, tokenInAddress,