clear-react-router 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -193,10 +193,7 @@ var useHandleNavigation = ({ setLocation, routeList, context, revalidateCache })
193
193
  to: newLocation.pathname
194
194
  });
195
195
  history.pushState(null, "", prevPathname.current);
196
- } else {
197
- console.log(newLocation);
198
- setNextLocationRef.current(newLocation);
199
- }
196
+ } else setNextLocationRef.current(newLocation);
200
197
  };
201
198
  window.addEventListener("popstate", handler);
202
199
  return () => window.removeEventListener("popstate", handler);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clear-react-router",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A lightweight, type-safe routing library for React applications",
5
5
  "author": "Andrew Bubnov",
6
6
  "scripts": {