Skip to content

Instantly share code, notes, and snippets.

@Porter97
Created April 9, 2020 14:25
#...
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