Skip to content

Commit

Permalink
Merge pull request #82 from Rushikesh-Sonawane99/release-1.0.0
Browse files Browse the repository at this point in the history
Issue #PS-000 chore: Resolved build issue
  • Loading branch information
itsvick authored Aug 2, 2024
2 parents 546d20f + 6d8d082 commit 3a4149c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/learner/[userId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ const LearnerProfile: React.FC = () => {
} else if (item?.type === 'text') {
return String(field?.value);
} else {
if(field.value ==='FEMALE' || field.value ==='MALE')
{
console.log(true)
return field?.value?.toLowerCase();
}
return field?.value;
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/pages/user-profile/[userId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ const TeacherProfile = () => {
} else if (item?.type === 'text') {
return String(field?.value);
} else {
if(field.value ==='FEMALE' || field.value ==='MALE')
{
console.log(true)
return field?.value?.toLowerCase();
}
return field?.value;
}
}
Expand Down

0 comments on commit 3a4149c

Please sign in to comment.