File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed
ui/pages/first-time-flow/metametrics-opt-in Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -105,29 +105,7 @@ export default class MetaMetricsOptIn extends Component {
105105 onCancel = { async ( ) => {
106106 await setParticipateInMetaMetrics ( false ) ;
107107
108- try {
109- if (
110- participateInMetaMetrics === null ||
111- participateInMetaMetrics === true
112- ) {
113- await trackEvent (
114- {
115- category : EVENT . CATEGORIES . ONBOARDING ,
116- event : 'Metrics Opt Out' ,
117- properties : {
118- action : 'Metrics Option' ,
119- legacy_event : true ,
120- } ,
121- } ,
122- {
123- isOptIn : true ,
124- flushImmediately : true ,
125- } ,
126- ) ;
127- }
128- } finally {
129- history . push ( nextRoute ) ;
130- }
108+ history . push ( nextRoute ) ;
131109 } }
132110 cancelText = { t ( 'noThanks' ) }
133111 hideCancel = { false }
You can’t perform that action at this time.
0 commit comments