Skip to content

Commit 6638911

Browse files
author
nishanth
committed
Updated readme to reflect new features
1 parent 73aeb30 commit 6638911

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

auth/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Import statement :
8787
import { useRegister } from 'react-firebase-hooks/auth';
8888
```
8989

90-
For full full example [check here](#registerandloginhookusage)
90+
For full full example [check here](#register-and-login-hook-usage)
9191

9292
Register a user and receive the user credentials
9393

@@ -116,7 +116,7 @@ Import statement :
116116
import { useLogin } from 'react-firebase-hooks/auth';
117117
```
118118

119-
For full full example [check here](#registerandloginhookusage)
119+
For full full example [check here](#register-and-login-hook-usage)
120120

121121
Register a user and receive the user credentials
122122

@@ -144,11 +144,7 @@ function App() {
144144
const [email, setEmail] = useState('');
145145
const [password, setPassword] = useState('');
146146
const [loggedInUser, error, login, loading] = useLogin(auth, email, password);
147-
const [registeredUser, error, register, loading] = useRegister(
148-
auth,
149-
email,
150-
password
151-
);
147+
const [registeredUser, error, register, loading] = useRegister(auth, email, password);
152148

153149
if (error) {
154150
return (

0 commit comments

Comments
 (0)