Skip to content

Commit

Permalink
fix: updates displayed value for null fields for cosistency
Browse files Browse the repository at this point in the history
  • Loading branch information
varortz committed Jun 3, 2024
1 parent b951c8a commit 33fe14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ListingCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function ListingCard({
const remoteInfo = useMemo(() => {
if (listing.listing_type === 'CASE' || listing.listing_type === 'INT') {
if (listing.is_remote === null || listing.is_remote === undefined) {
return 'Not Available';
return 'To Be Determined';
}
return listing.is_remote ? 'Remote' : 'In Person';
}
Expand Down

0 comments on commit 33fe14b

Please sign in to comment.