Skip to content

Commit

Permalink
fix: matching url
Browse files Browse the repository at this point in the history
  • Loading branch information
e-krebs committed Dec 16, 2024
1 parent be09d55 commit 568120c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/currentUrlIsMatching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ export const urlsAreMatching = (url1: URL | string, url2: URL): boolean => {
return (
beautifyUrl(URL1.origin) === beautifyUrl(url2.origin) &&
beautifyUrl(URL1.pathname) === beautifyUrl(url2.pathname) &&
url1.search === url2.search
URL1.search === url2.search
);
};

0 comments on commit 568120c

Please sign in to comment.