Created
June 24, 2018 08:50
-
-
Save AndrejGajdos/e73d81235b8421cedab6dee11933ad9f to your computer and use it in GitHub Desktop.
This file is part of project https://github.com/AndrejGajdos/auth-flow-spa-node-react/blob/master/script/views/components/LoginForm/LoginForm.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as ActionTypes from 'constants/actionTypes'; | |
export const login = (email, password) => ({ | |
type: ActionTypes.LOGIN_REQUESTED, | |
email, | |
password, | |
}); | |
export const logout = () => ({ | |
type: ActionTypes.LOGOUT_REQUESTED, | |
}); | |
export const getProfile = () => ({ | |
type: ActionTypes.PROFILE_REQUESTED, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment