Skip to content

Commit

Permalink
fix:typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Manmit124 committed Mar 28, 2024
1 parent 32c90ad commit a9ac7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_components/(auth)/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const LoginForm = () => {
const handleSubmit = async (e) => {
e.preventDefault();
setcreatingUser(true);
await signIn("credentials", { email, password, callbackUrl: "/onboarding" });
await signIn("credentials", { email, password, callbackUrl: "/" });

if (!response.ok) {
seterror(true);
Expand Down

0 comments on commit a9ac7e4

Please sign in to comment.