Skip to content

Commit

Permalink
feat(analytics): reset cancelled actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Aug 28, 2021
1 parent 940ff67 commit 537a018
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ class StepOne extends React.PureComponent<Props, State> {
handleGoBackClick = () => {
if (this.state.firstResetAcccountPrompt === true) {
this.props.setStep(RecoverSteps.RECOVERY_OPTIONS)
this.props.authActions.resetAccountCancelled('RESET_CONFIRMATION')
} else {
this.setState({ firstResetAcccountPrompt: true })
this.props.authActions.resetAccountCancelled('RESET_FINAL_WARNING')
}
}

Expand All @@ -44,7 +46,7 @@ class StepOne extends React.PureComponent<Props, State> {
return (
<>
<BackArrowFormHeader
handleBackArrowClick={() => this.handleGoBackClick}
handleBackArrowClick={this.handleGoBackClick}
email={emailFromMagicLink}
guid={cachedGuid || lastGuid}
step={RecoverSteps.RESET_ACCOUNT}
Expand Down

0 comments on commit 537a018

Please sign in to comment.