Skip to content

Commit 5c79f11

Browse files
authored
Update README.md
1 parent c1a0d20 commit 5c79f11

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)