Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
flacoman91 committed Oct 22, 2024
1 parent 74c08c7 commit b6f136d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function changeRoute(path, params) {
const { routes } = store;
const sameRoute =
routes.path === path && isEqual(routes.params, normalized);
if (sameRoute === false) {
if (!sameRoute) {
dispatch(routeChanged(path, normalized));
}
};
Expand Down

0 comments on commit b6f136d

Please sign in to comment.