Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
style(containers): style fixs in LoginForm
Browse files Browse the repository at this point in the history
style(containers): style fixs in LoginForm
  • Loading branch information
Metnew committed Dec 5, 2017
1 parent d35af3b commit cf5067e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/containers/Login/components/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {LOGIN_AUTH} from 'actions/auth'
import type {FormProps} from 'redux-form'

type Props = {
login: (data: Object) => void,
login: (data: Object) => void
} & FormProps

class LoginComponent extends Component<Props, State> {
Expand Down Expand Up @@ -89,8 +89,7 @@ const mapStateToProps = state => ({})

const mapDispatchToProps = dispatch => ({
async login (data) {
const res = await dispatch(LOGIN_AUTH(data))
return res
return dispatch(LOGIN_AUTH(data))
}
})

Expand Down

0 comments on commit cf5067e

Please sign in to comment.