Skip to content

Commit 76ebe5e

Browse files
authored
Merge pull request #38 from Developer-Kommunity-24/redirectfic
redirect fix
2 parents 9f7ee1f + 6c0cb4f commit 76ebe5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/AuthScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { SignIn } from "@clerk/react";
33
export default function AuthScreen() {
44
return (
55
<div style={{ display: "flex", justifyContent: "center", alignItems: "center", minHeight: "100dvh" }}>
6-
<SignIn />
6+
<SignIn fallbackRedirectUrl={typeof window !== 'undefined' ? window.location.href : '/'} signUpFallbackRedirectUrl={typeof window !== 'undefined' ? window.location.href : '/'} />
77
</div>
88
);
99
}

0 commit comments

Comments
 (0)