Created
January 2, 2018 20:56
-
-
Save rxluz/538c65b1ae285c2a02687ddcdf0afc4f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 save = (id) => { | |
//your save code here | |
return { | |
goToUserProfile: () => window.location.replace(`myurl.example/profile/${id}`) | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment