Skip to content

Commit

Permalink
chore: remove chase of empty string with undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Usmanfee committed Oct 17, 2024
1 parent 7d48785 commit ec011c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/ServiceMarketplace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function ServiceMarketplace() {
const [sortOption, setSortOption] = useState<string>('new')
const [cardServices, setCardServices] = useState<ServiceRequest[]>([])

const serviceTypeId = serviceTypeIdMapping[serviceTypeMapping[selected]] ?? ''
const serviceTypeId = serviceTypeIdMapping[serviceTypeMapping[selected]]

let sortingType = 'ReleaseDateDesc'
if (sortOption === 'provider') {
Expand Down

0 comments on commit ec011c6

Please sign in to comment.