Created
May 1, 2017 16:32
-
-
Save kocisov/44a429ef2b93136b44ee27cbacf30d75 to your computer and use it in GitHub Desktop.
(puke)
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
export default ({ error, success }) => { | |
const message = error.message ? error.message : success.message | |
return ( | |
<div> | |
{message} | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment