From b6f136d24048a6576b1e5b033dfe8d13ba05a67d Mon Sep 17 00:00:00 2001 From: Richard Dinh Date: Tue, 22 Oct 2024 11:44:21 -0700 Subject: [PATCH] cleanup --- src/actions/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/routes.js b/src/actions/routes.js index 6ea354f35..d063a5ecb 100644 --- a/src/actions/routes.js +++ b/src/actions/routes.js @@ -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)); } };