Skip to content

Commit

Permalink
fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashyap1ankit committed Nov 11, 2024
1 parent c6f7333 commit 4ddcec3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/Job/JobSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function JobSheetComp({
role_description,
job_type,
location,

salary_disclosed,
salary_min,
salary_max,
experience_level,
Expand Down Expand Up @@ -78,8 +78,11 @@ export default function JobSheetComp({
</div>

<p className="text-xs text-white p-2 rounded-full bg-green-800">
{salary_min / 1000}k -{" "}
<span>{Math.round(salary_max / 1000)}k</span>/month
{salary_disclosed && salary_min && salary_max
? ` ₹ ${Math.round(salary_min / 1000)}k - ₹ ${Math.round(
salary_max / 1000
)}k/month`
: "Not disclosed"}
</p>
</div>

Expand Down

0 comments on commit 4ddcec3

Please sign in to comment.