Skip to content

Commit

Permalink
🐛 Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Apr 19, 2024
1 parent 58b489b commit 2420e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/client-ts/src/app/configuration/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Layout({
const router = useRouter();
useEffect(() => {
if(config.DISTRIBUTION !== "selfhost" && !session){
router.replace("/b2c/login");
router.push("/b2c/login");
}
}, [session, router]);

Expand Down
2 changes: 1 addition & 1 deletion apps/client-ts/src/app/connections/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Layout({
const router = useRouter();
/*useEffect(() => {
if(config.DISTRIBUTION !== "selfhost" && !session){
router.replace("/b2c/login");
router.push("/b2c/login");
}
}, [session, router]);*/

Expand Down

0 comments on commit 2420e64

Please sign in to comment.