Last active
November 9, 2016 17:02
-
-
Save gquemener/ecdbb277db014fdb3ae991656673b4ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function(eventTracker) { | |
return store => next => action => { | |
eventTracker.trackEvent(action.type); | |
return next(action); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment