Skip to content
Snippets Groups Projects
CorrectSolutionReducer.js 273 B
Newer Older
  • Learn to ignore specific revisions
  • import { } from '../actions/types';
    
    const INITIAL_STATE = {
      can_submit: [],
      no_submit: [],
      wait_correction: [],
      no_accept: [],
      accepted: [],
    };
    
    export default (state = INITIAL_STATE, action) => {
      switch (action.type) {
        default:
          return state;
      }
    };