Skip to content

Commit

Permalink
fix tsc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed Nov 11, 2023
1 parent 199818d commit 43ddb27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export default function Page() {
<p>hoursPerMonth: {profile.hours_per_month}</p>
<p>
immigrationLawExperience:{' '}
{profile.immigration_law_experience.toString()}
{profile.immigration_law_experience &&
profile.immigration_law_experience.toString()}
</p>
{profile.bar_number && (
<p>barNumber: {profile.bar_number.toString()}</p>
Expand Down

0 comments on commit 43ddb27

Please sign in to comment.