daddy/frontend/src/store/actions/logout.ts

7 lines
209 B
TypeScript
Raw Normal View History

2020-06-15 18:10:06 +02:00
export const LOGOUT_REQUEST = "LOGOUT_REQUEST";
export const LOGOUT_SUCCESS = "LOGOUT_SUCCESS";
export const LOGOUT_FAILURE = "LOGOUT_FAILURE";
export function logout() {
return { type: LOGOUT_REQUEST };
};