1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-23 20:07:40 +02:00
unleash.unleash/frontend/src/store/user/actions.js
2016-11-25 15:37:06 +01:00

17 lines
342 B
JavaScript

export const USER_UPDATE_USERNAME = 'USER_UPDATE_USERNAME';
export const USER_SAVE = 'USER_SAVE';
export const USER_EDIT = 'USER_EDIT';
export const updateUserName = (value) => ({
type: USER_UPDATE_USERNAME,
value,
});
export const save = () => ({
type: USER_SAVE,
});
export const openEdit = () => ({
type: USER_EDIT,
});