Created
October 12, 2016 23:41
-
-
Save nicolaslopezj/1751d190ef122648a2cba706d442a86a 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
/* Before */ | |
class Profile extends React.Component { | |
render () { | |
return <div>{this.props.data.currentUser.login}</div> | |
} | |
} | |
/* After */ | |
class Profile extends React.Component { | |
render () { | |
return <div>{this.props.currentUser.login}</div> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment