Skip to content

Commit b23480d

Browse files
author
nishanth
committed
Merge branch 'fix-auth-bug' of github.com:lorstenoplo/react-firebase-hooks into fix-auth-bug
2 parents 8c5e15d + 5c79f11 commit b23480d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

auth/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ function App() {
145145
const [password, setPassword] = useState('');
146146
const [loggedInUser, error, login, loading] = useLogin(auth, email, password);
147147
const [registeredUser, error, register, loading] = useRegister(auth, email, password);
148-
// Use only of the above hooks in one file
148+
149+
// Use only one of the above two hooks in one file
150+
149151
if (error) {
150152
return (
151153
<div>

0 commit comments

Comments
 (0)