src/redux/reducers/tracks.js
// Get data returned from the server and return it as the new state for user data
Get data returned from the server and return it as the new state for user data
Get data returned from the server and return it as the new state for user data
function tracks_getPlaylistTracksSuccess(state, action) {
    return {
      ...state,
      loading: false,
      data: action.tracks,
    };
  }
function tracks_getPlaylistTracksSuccess ( state , action ) { return { ... state , loading : false , data : action . tracks , } ; }
Get data returned from the server and return it as the new state for user data
Get data returned from the server and return it as the new state for user data