Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

382 B
Raw Blame
import { assign as lodashAssign } from 'lodash';
import { INIT_FEEDBACK } from './constants';

const feedbackState = {
  isInitiated: false,
};

export default function feedbackReducer(state = feedbackState, action) {
  switch (action.type) {
    case INIT_FEEDBACK:
      return lodashAssign({}, state, {
        isInitiated: true,
      });
    default:
      return state;
  }
}