Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 568120c

Browse files
committedDec 16, 2024·
fix: matching url
1 parent be09d55 commit 568120c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/utils/currentUrlIsMatching.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export const urlsAreMatching = (url1: URL | string, url2: URL): boolean => {
4545
return (
4646
beautifyUrl(URL1.origin) === beautifyUrl(url2.origin) &&
4747
beautifyUrl(URL1.pathname) === beautifyUrl(url2.pathname) &&
48-
url1.search === url2.search
48+
URL1.search === url2.search
4949
);
5050
};

0 commit comments

Comments
 (0)
Please sign in to comment.