diff --git a/package.json b/package.json index 3fff043..d18aac5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why", - "commit": "cz", + "commit": "git add . && cz", "semantic-release": "semantic-release --branches main" }, "peerDependencies": { diff --git a/src/components/NextShield.tsx b/src/components/NextShield.tsx index 27aa767..9c2011f 100644 --- a/src/components/NextShield.tsx +++ b/src/components/NextShield.tsx @@ -47,9 +47,9 @@ export function NextShield< >({ isAuth, isLoading, - router: { pathname, replace }, - loginRoute, - accessRoute, + router: { pathname /*replace*/ }, + // loginRoute, + // accessRoute, privateRoutes, publicRoutes, hybridRoutes,