aboutsummaryrefslogtreecommitdiff
path: root/src/actions/login.action.js
blob: 3468e4e85758cbaeeda44fa1d76ddb554c41483a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { LOGIN_REQUEST, LOGIN_SUCCESS } from "../utils/constants";


export const loginRequest = (payload)=>{
    return {
        type: LOGIN_REQUEST,
        ...payload
    };
}

export const loginSuccess = (payload)=>{
    return {
        type: LOGIN_SUCCESS,
        ...payload
    };
}