text: import { FETCH_ARTIST } from '../actions/getArtistInfo';
  
  export default function (state = [], action){
      switch (action.type){
          case FETCH_ARTIST:
              state = [];
              // return state.concat([ action.payload.data ]);
              return [action.payload.data.artist, ...state]; //same above line code
      }
      return state;
  }
  