File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 1- import {
2- actions as dataFetchActions ,
3- actionTypes as dataFetchActionTypes ,
4- } from '@bufferapp/async-data-fetch'
1+ import { actions as dataFetchActions } from '@bufferapp/async-data-fetch'
52
6- export default ( { dispatch, getState } ) => next => action => {
3+ export default ( { dispatch } ) => next => action => {
74 next ( action )
85 switch ( action . type ) {
96 case 'APP_INIT' :
@@ -13,17 +10,6 @@ export default ({ dispatch, getState }) => next => action => {
1310 } ) ,
1411 )
1512 break
16- case `user_${ dataFetchActionTypes . FETCH_SUCCESS } ` :
17- const { id } = action . result
18- const {
19- productFeatures : { planName } ,
20- } = getState ( )
21- if ( window && window . FS && window . FS . identify ) {
22- window . FS . identify ( id , {
23- pricingPlan_str : planName ,
24- } )
25- }
26- break
2713 default :
2814 break
2915 }
You can’t perform that action at this time.
0 commit comments