export const LoginFailure =()=>({
type:"LOGIN_FAILURE",
});
I was going through a git repository and their a saw this one and i am confuse why is this type of export I think it would be like this
export const LoginFailure=()=>{
}
export const LoginFailure =()=>({
type:"LOGIN_FAILURE",
});
I was going through a git repository and their a saw this one and i am confuse why is this type of export I think it would be like this
export const LoginFailure=()=>{
}