Skip to content

Commit

Permalink
fixed error in user profile
Browse files Browse the repository at this point in the history
  • Loading branch information
dudchakk committed Nov 28, 2024
1 parent 494cf2e commit 371c0f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/user-profile/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ const UserProfile = () => {
{response.professionalBlock && (
<AboutTutorBlock data={response.professionalBlock} />
)}
{isStudent && <AboutStudentBlock data={response.aboutStudent} />}
{response.aboutStudent && (
<AboutStudentBlock data={response.aboutStudent} />
)}
{shouldShowPresentation && VideoPresentationComponent}
<CommentsWithRatingBlock
averageRating={user.reviewStats.averageRating}
Expand Down

0 comments on commit 371c0f1

Please sign in to comment.