Skip to content

Commit 7f068b6

Browse files
committed
fixed stuff
1 parent 0e997d8 commit 7f068b6

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

.env

Whitespace-only changes.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules/
2-
.env
32
npm-debug.log
43
dist
54
.DS_Store

src/views/Main/Login/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class Login extends React.Component {
4444
event.preventDefault()
4545
const { username, email, password } = this.state
4646
if (username && email && password) {
47-
this.props.auth.login(username, email, password)
47+
this.props.auth.signup(username, email, password)
4848
.then(result => {
4949
if (!result.token) {
5050
this.setState({signupError: result.message})

0 commit comments

Comments
 (0)