Skip to content

Commit

Permalink
Update src/PagesProgressBar.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Macpherson <[email protected]>
  • Loading branch information
2 people authored and Skyleen77 committed Dec 20, 2024
1 parent a8cef49 commit 4a40df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PagesProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const PagesProgressBar = React.memo(

const handleRouteStart = (url: string) => {
const targetUrl = new URL(url, location.href);
const currentUrl = new URL(Router.asPath, location.href);
const currentUrl = new URL(location.href);

if (
shallowRouting &&
Expand Down

0 comments on commit 4a40df2

Please sign in to comment.