export const setQueryString: ReducerFuncType = (state, { payload }) => ({
  ...state,
  queryString: payload,
});

export const setCurrentIndex: ReducerFuncType = (state, { payload }) => ({
  ...state,
  currentIndex: payload,
});

export const setMatchesMap: ReducerFuncType = (state, { payload }) => ({
  ...state,
  matchesMap: payload,
});
