From a4715a95c230241145aedaedcecf40126c10a8a9 Mon Sep 17 00:00:00 2001 From: uid11 Date: Fri, 6 Dec 2024 04:37:50 +0300 Subject: [PATCH] FI-1557 fix: `isReRequest` respect `pathname` --- src/utils/waitForEvents/isReRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/waitForEvents/isReRequest.ts b/src/utils/waitForEvents/isReRequest.ts index c3217a9c..0785476c 100644 --- a/src/utils/waitForEvents/isReRequest.ts +++ b/src/utils/waitForEvents/isReRequest.ts @@ -22,7 +22,7 @@ export const isReRequest = ( return false; } - if (reRequestUrlObject.search !== baseRequestUrlObject.search) { + if (reRequestUrlObject.pathname !== baseRequestUrlObject.pathname) { return false; }