Skip to content

Commit

Permalink
fix: resolve missing analytics issue (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatertomi committed May 7, 2024
1 parent 8b4f652 commit 176dca7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,17 +251,17 @@ export const WalletSetupWizard = ({
mnemonic={mnemonic}
mnemonicStage={currentSetupMnemonicStage}
onStageChange={(nextStage) => {
if (nextStage === 'writedown') {
if (nextStage === 'input') {
setCurrentSetupMnemonicStage(nextStage);
void sendAnalytics(postHogOnboardingActions.create.SAVE_RECOVERY_PHRASE_NEXT_CLICK);
} else {
setIsResetMnemonicModalOpen(true);
return;
}
setCurrentSetupMnemonicStage(nextStage);
void sendAnalytics(postHogOnboardingActions.create.SAVE_RECOVERY_PHRASE_NEXT_CLICK);
}}
onBack={onCancel}
onNext={() => {
void sendAnalytics(postHogOnboardingActions.create.ENTER_RECOVERY_PHRASE_NEXT_CLICK);
moveForward();
void sendAnalytics(postHogOnboardingActions.create.ENTER_RECOVERY_PHRASE_NEXT_CLICK);
}}
renderVideoPopupContent={({ onClose }) => (
<MnemonicVideoPopupContent
Expand Down

0 comments on commit 176dca7

Please sign in to comment.