Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Fix crashing of MenteeApplication due to missing conditional rendering (
Browse files Browse the repository at this point in the history
  • Loading branch information
NethmiRodrigo authored Jul 18, 2021
1 parent b7ede02 commit a83c0c6
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,19 @@ function MenteeApplication() {
<Spin tip="Loading..." spinning={isLoading}>
<Row>
<Col offset={1} span={1}>
<Avatar size={64} src={mentor.profile.imageUrl} />
<Avatar size={64} src={mentor?.profile.imageUrl} />
</Col>
<Col offset={1}>
<Title level={3}>
{mentor.profile.firstName} {mentor.profile.lastName}
{mentor?.profile.firstName} {mentor?.profile.lastName}
</Title>
<Text>{mentor.profile.headline}</Text>
<Text>{mentor?.profile.headline}</Text>
</Col>
</Row>
<div className={styles.contentMargin}>
<a href={mentor.profile.linkedinUrl}>
<a href={mentor?.profile.linkedinUrl}>
<LinkedinOutlined />
{''} {mentor.profile.firstName}&apos;s LinkedIn profile
{''} {mentor?.profile.firstName}&apos;s LinkedIn profile
</a>
<br />
<br />
Expand Down

0 comments on commit a83c0c6

Please sign in to comment.