import { updateFieldMeta } from '../state-helpers';



export default () => (state, { fieldID }) => {
  const field = state[fieldID];

  state = updateFieldMeta(state, field, {
    submitted: true,
    submittedTimes: field.meta.submitted + 1,
    submitting: false
  });

  return state;
};

@@ -231,16 +231,21 @@
 ubmitted
+Times
  + 1,%0A  

fix submitTimes