Skip to content

Commit aa991ae

Browse files
feat: keep old metametrics flow
1 parent b095803 commit aa991ae

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

ui/pages/onboarding-flow/recovery-phrase/confirm-recovery-phrase.js

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ import {
2929
MetaMetricsEventName,
3030
} from '../../../../shared/constants/metametrics';
3131
import { getHDEntropyIndex } from '../../../selectors/selectors';
32-
import {
33-
ONBOARDING_COMPLETION_ROUTE,
34-
ONBOARDING_METAMETRICS,
35-
} from '../../../helpers/constants/routes';
36-
import { PLATFORM_FIREFOX } from '../../../../shared/constants/app';
37-
// eslint-disable-next-line import/no-restricted-paths
38-
import { getPlatform } from '../../../../app/scripts/lib/util';
32+
import { ONBOARDING_COMPLETION_ROUTE } from '../../../helpers/constants/routes';
3933
import ConfirmSrpModal from './confirm-srp-modal';
4034
import RecoveryPhraseChips from './recovery-phrase-chips';
4135

@@ -119,9 +113,11 @@ export default function ConfirmRecoveryPhrase({ secretRecoveryPhrase = '' }) {
119113
},
120114
});
121115

122-
getPlatform() === PLATFORM_FIREFOX
123-
? history.push(ONBOARDING_COMPLETION_ROUTE)
124-
: history.push(ONBOARDING_METAMETRICS);
116+
// getPlatform() === PLATFORM_FIREFOX
117+
// ? history.push(ONBOARDING_COMPLETION_ROUTE)
118+
// : history.push(ONBOARDING_METAMETRICS);
119+
// SOCIAL: change metametrics flow on later PR
120+
history.push(ONBOARDING_COMPLETION_ROUTE);
125121
}, [dispatch, hdEntropyIndex, history, trackEvent]);
126122

127123
return (

0 commit comments

Comments
 (0)