Created
August 29, 2018 08:48
-
-
Save gladchinda/6fef62c95a95c2b8e20469349c85377c 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
function ProfileComponent(props) { | |
return ( | |
props.loggedIn | |
? <Profile profile={props.profile} /> | |
: <div>Please login to view profile.</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment