Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. /**
  2. * Save token actions
  3. */
  4.  
  5.  
  6. /**
  7. * Store token action
  8. */
  9. export const STORE_TOKEN = 'STORE_TOKEN';
  10.  
  11. const storeToken = (token) => ({
  12. type: STORE_TOKEN,
  13. token,
  14. });
  15.  
  16. /**
  17. * Save token action
  18. */
  19.  
  20. export const SAVE_TOKEN = 'SAVE_TOKEN';
  21.  
  22. export const saveToken = (token) => ({
  23. type: SAVE_TOKEN,
  24. token,
  25. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement