Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. import { createActions } from 'redux-actions';
  2.  
  3. const {
  4. auth: {
  5. sendCode,
  6. sendCodeSuccess,
  7. sendCodeError,
  8. checkCode,
  9. checkCodeSuccess,
  10. checkCodeError,
  11. getProfiles,
  12. getProfilesSuccess,
  13. getProfilesError,
  14. }
  15. } = createActions({
  16. AUTH: {
  17. SEND_CODE: null,
  18. SEND_CODE_SUCCESS: null,
  19. SEND_CODE_ERROR: null,
  20. CHECK_CODE: null,
  21. CHECK_CODE_SUCCESS: null,
  22. CHECK_CODE_ERROR: null,
  23. GET_PROFILES: null,
  24. GET_PROFILES_SUCCESS: null,
  25. GET_PROFILES_ERROR: null,
  26. }
  27. });
  28.  
  29. export {
  30. sendCode,
  31. sendCodeSuccess,
  32. sendCodeError,
  33. checkCode,
  34. checkCodeSuccess,
  35. checkCodeError,
  36. getProfiles,
  37. getProfilesSuccess,
  38. getProfilesError,
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement