Skip to content

Commit a3241e1

Browse files
authored
Fix: Incorrect arguments in README
Fixed incorrect arguments for `useSignInWithEmailAndPassword` hook
1 parent ef8e19e commit a3241e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const [
165165
user,
166166
loading,
167167
error,
168-
] = useSignInWithEmailAndPassword(auth, email, password);
168+
] = useSignInWithEmailAndPassword(auth);
169169
```
170170

171171
Login a user with email and password. Wraps the underlying `auth.signInWithEmailAndPassword` method and provides additional `loading` and `error` information.

0 commit comments

Comments
 (0)