Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisaa committed Sep 5, 2016
2 parents 2ec260b + c25ea94 commit cb6cf50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/group/WizardGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ class WizardGroup extends BaseGroup {
};

// Saves an object containing the step position that started the flow and the position after that flow
trackStepFlow = (positionToTrack) => {
let { stepFlow, position } = this.state;
trackStepFlow = (position) => {
let { stepFlow } = this.state;

stepFlow.push({
originalPosition: position,
positionToTrack
originalPosition: this.state.position,
position
});

this.setState({stepFlow});
Expand Down

0 comments on commit cb6cf50

Please sign in to comment.