Skip to content

Commit

Permalink
Merge pull request #99 from joomcode/fix/is-rerequest-respect-pathname
Browse files Browse the repository at this point in the history
fix: `isReRequest` respect `pathname`
  • Loading branch information
uid11 authored Dec 6, 2024
2 parents 8fc515a + a4715a9 commit 1f19ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/waitForEvents/isReRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const isReRequest = (
return false;
}

if (reRequestUrlObject.search !== baseRequestUrlObject.search) {
if (reRequestUrlObject.pathname !== baseRequestUrlObject.pathname) {
return false;
}

Expand Down

0 comments on commit 1f19ff9

Please sign in to comment.