Created
April 9, 2020 14:25
-
-
Save Porter97/28b5154cd08edfc0b09f59302c025adf 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
#... | |
import NotFound from './NotFound'; | |
#... | |
class Profile extends Component { | |
#... | |
render() { | |
const profile = this.props.profile; | |
if (profile.errors) { | |
return ( | |
<NotFound /> | |
); | |
} | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment