Last active
October 29, 2018 03:44
-
-
Save helielson/64eb0f18e744d43e79f0814f81f554a4 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
const profileInfoViewed = (fromComponent, profile) => { | |
const { id, name, age, homeLocation } = profile; | |
eventsAPI( | |
'ProfileInfoViewed', | |
fromComponent, | |
{ id, name, age, city: homeLocation.title } | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment