From a83c0c68276c5c7df4abc82a1acd75459ae41e16 Mon Sep 17 00:00:00 2001 From: Nethmi Rodrigo <34070216+NethmiRodrigo@users.noreply.github.com> Date: Sun, 18 Jul 2021 11:17:51 +0530 Subject: [PATCH] Fix crashing of MenteeApplication due to missing conditional rendering (#210) --- .../RequestMentors/scenes/MenteeApplication/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scenes/Home/scenes/RequestMentors/scenes/MenteeApplication/index.tsx b/src/scenes/Home/scenes/RequestMentors/scenes/MenteeApplication/index.tsx index 40c80d7..d9ef10b 100644 --- a/src/scenes/Home/scenes/RequestMentors/scenes/MenteeApplication/index.tsx +++ b/src/scenes/Home/scenes/RequestMentors/scenes/MenteeApplication/index.tsx @@ -136,19 +136,19 @@ function MenteeApplication() { - + - {mentor.profile.firstName} {mentor.profile.lastName} + {mentor?.profile.firstName} {mentor?.profile.lastName} - {mentor.profile.headline} + {mentor?.profile.headline}
- + - {''} {mentor.profile.firstName}'s LinkedIn profile + {''} {mentor?.profile.firstName}'s LinkedIn profile