score:0

export interface State{
   freeAds: null
}
export const adReducers = (state = {freeAds:[]}, {type, payload}) => {
 switch(type)
 case ActionTypes.SET_FREE_ADS:
        return { 
           ...state,
           freeAds: payload
        };
 }

Related Query

More Query from same tag