Mise en place structure frontend
This commit is contained in:
7
frontend/src/store/actions/logout.ts
Normal file
7
frontend/src/store/actions/logout.ts
Normal file
@ -0,0 +1,7 @@
|
||||
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 };
|
||||
};
|
Reference in New Issue
Block a user