Skip to content

Commit dd2e586

Browse files
authored
Update auth README.md
Was a bit confusing on first look. Hopefully this will look better for others as well.
1 parent 7eb49f1 commit dd2e586

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
@@ -36,7 +36,7 @@ Returns:
3636
import { useAuthState } from 'react-firebase-hooks/auth';
3737

3838
const CurrentUser = () => {
39-
const [user, initialising, error] = useAuthState(firebase.auth());
39+
const [user, loading, error] = useAuthState(firebase.auth());
4040
const login = () => {
4141
firebase.auth().signInWithEmailAndPassword('[email protected]', 'password');
4242
};

0 commit comments

Comments
 (0)