Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { createActions } from 'redux-actions';
- const {
- auth: {
- sendCode,
- sendCodeSuccess,
- sendCodeError,
- checkCode,
- checkCodeSuccess,
- checkCodeError,
- getProfiles,
- getProfilesSuccess,
- getProfilesError,
- }
- } = createActions({
- AUTH: {
- SEND_CODE: null,
- SEND_CODE_SUCCESS: null,
- SEND_CODE_ERROR: null,
- CHECK_CODE: null,
- CHECK_CODE_SUCCESS: null,
- CHECK_CODE_ERROR: null,
- GET_PROFILES: null,
- GET_PROFILES_SUCCESS: null,
- GET_PROFILES_ERROR: null,
- }
- });
- export {
- sendCode,
- sendCodeSuccess,
- sendCodeError,
- checkCode,
- checkCodeSuccess,
- checkCodeError,
- getProfiles,
- getProfilesSuccess,
- getProfilesError,
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement