Created
November 14, 2018 15:17
-
-
Save Kadajett/c4bafc99cf523423a14e21edc0709ea2 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 errors = { | |
web_user_phone_error: { | |
error_data: "asdf" | |
} | |
} | |
return R.compose( | |
R.propOr(message, "createdMessage"), | |
errors[x] | |
)(errors) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment