Нема описа

12345678910
  1. const initialState = {
  2. currentUser: null
  3. }
  4. export const user = (state = initialState, action) => {
  5. return {
  6. ... state,
  7. currentUser: action.currentUser
  8. }
  9. }