@fluxo-dev/shell 0.0.16 → 0.0.17

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/index.esm.js +3 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -2272,11 +2272,10 @@ function OnlyNotLoggedRoute(_a) {
2272
2272
  loggedIn
2273
2273
  } = useSelector(state => state.user);
2274
2274
  if (loggedIn) {
2275
- return jsx(Navigate, {
2276
- to: "/",
2277
- replace: true
2278
- });
2275
+ window.location.href = '/';
2276
+ //return <Navigate to="/" replace />;
2279
2277
  }
2278
+
2280
2279
  return children;
2281
2280
  }
2282
2281
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxo-dev/shell",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "@fluxo-dev/shell-hub": "0.0.16",
6
6
  "@fluxo-dev/shell-korebi": "0.0.16",