Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fomalhautb committed Oct 3, 2024
1 parent df23909 commit 1240777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function CustomCredentialSignIn() {
return;
}
// this will redirect to app.urls.afterSignIn if successful, you can customize it in the StackServerApp constructor
const resullt = await app.signInWithCredential({ email, password });
const result = await app.signInWithCredential({ email, password });
// It is better to handle each error code separately, but we will just show the error code directly for simplicity here
if (result.status === 'error') {
setError(result.error.message);
Expand Down

0 comments on commit 1240777

Please sign in to comment.