Skip to content

Commit d59a718

Browse files
authored
Update Signup.js
1 parent 36b63b2 commit d59a718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/Pages/Signup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const Signup = () => {
3636
return;
3737
}
3838
try {
39-
const resp = await axios.post(`${url}/auth/signup`,)
39+
const resp = await axios.post(`${url}/auth/signup`,{email, password, username})
4040
localStorage.setItem('auth', JSON.stringify(resp.data))
4141
navigate('/')
4242
context.setAuth(resp.data)

0 commit comments

Comments
 (0)