Skip to content

Commit

Permalink
Fix router bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Dec 9, 2024
1 parent 069f1e7 commit f1d590c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/client/providers/RouterProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const subscribeToRouteChange = (onRouteChange: () => void): (() => void) => {
};
};

const getLocationPathname = () => FlowRouter.current().path as LocationPathname;
const getLocationPathname = () => FlowRouter.current().path.replace(/\?.*/, '') as LocationPathname;

const getLocationSearch = () => location.search as LocationSearch;

Expand Down

0 comments on commit f1d590c

Please sign in to comment.