text: export const categoriesReducer = (state = [], action) => {
      switch(action.type){
          case 'FETCH_CATEGORIES':
              return  action.payload
          default:
                  return state
      }
  }
  
  