Skip to content

Commit

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

return (
<>
Expand Down

0 comments on commit 58b489b

Please sign in to comment.