Skip to content

Commit a4f5af8

Browse files
committed
[auth] Tweak README.md
1 parent cc386c1 commit a4f5af8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

auth/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ The `useSendPasswordResetEmail` hook takes the following parameters:
646646

647647
Returns:
648648

649-
- `sendPasswordResetEmail(email: string, actionCodeSettings?:ActionCodeSettings)`: a function you can call to send a password reset email. Optionally accepts an [actionCodeSettings](https://firebase.google.com/docs/reference/js/auth.actioncodesettings.md#actioncodesettings_interface) object as well.
649+
- `sendPasswordResetEmail(email: string, actionCodeSettings?: ActionCodeSettings)`: a function you can call to send a password reset email. Optionally accepts an [actionCodeSettings](https://firebase.google.com/docs/reference/js/auth.actioncodesettings.md#actioncodesettings_interface) object.
650650
- `sending`: A `boolean` to indicate whether the email is being sent
651651
- `error`: Any `Error` returned by Firebase when trying to send the email, or `undefined` if there is no error
652652

@@ -660,10 +660,10 @@ const SendPasswordReset = () => {
660660
const [sendPasswordResetEmail, sending, error] = useSendPasswordResetEmail(
661661
auth
662662
);
663-
663+
664664
const actionCodeSettings = {
665-
url: 'https://www.example.com/login'
666-
}
665+
url: 'https://www.example.com/login',
666+
};
667667

668668
if (error) {
669669
return (
@@ -747,4 +747,4 @@ const SendEmailVerification = () => {
747747
</div>
748748
);
749749
};
750-
```
750+
```

0 commit comments

Comments
 (0)