Skip to content

Commit

Permalink
[fix]: removed per annum incase the salary is not disclosed
Browse files Browse the repository at this point in the history
  • Loading branch information
poswalsameer authored Sep 20, 2024
1 parent e859e30 commit 56fb945
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/job-landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ const JobCard = async ({ searchParams }: PaginatorProps) => {
? `$${formatSalary(job.maxSalary)}`
: 'Not Disclosed'}
</span>
<p className=" md:text-right text-xs text-muted-foreground mt-1">
per annum
</p>
{job.minSalary && job.maxSalary && (
<p className="md:text-right text-xs text-muted-foreground mt-1">
per annum
</p>
)}
</div>
</div>
</Link>
Expand Down

0 comments on commit 56fb945

Please sign in to comment.