Skip to content

Instantly share code, notes, and snippets.

@JohnRandom
Created December 1, 2016 13:30
Show Gist options
  • Save JohnRandom/5d7b25d14cbb7d2e8c012d1be9c13bfc to your computer and use it in GitHub Desktop.
Save JohnRandom/5d7b25d14cbb7d2e8c012d1be9c13bfc to your computer and use it in GitHub Desktop.
if (milestones.indexOf(action.type) >= 0) {
const { nextStep } = states[step];
store.dispatch( setRegistrationStep(nextStep) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment