gengitkan/client/src/store/actions/logout.ts

7 lines
209 B
TypeScript
Raw Normal View History

2019-12-13 13:30:33 +01:00
export const LOGOUT_REQUEST = "LOGOUT_REQUEST";
export const LOGOUT_SUCCESS = "LOGOUT_SUCCESS";
export const LOGOUT_FAILURE = "LOGOUT_FAILURE";
2019-12-01 22:12:13 +01:00
export function logout() {
2019-12-13 13:30:33 +01:00
return { type: LOGOUT_REQUEST };
2019-12-01 22:12:13 +01:00
};