Skip to content

Commit

Permalink
refactor(RentalStation): Pass missing CompanyIcon props
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Feb 3, 2025
1 parent cdb0cd3 commit 53f83ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/components/viewers/nearby/rental-station.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ const RentalStation = ({ companies, fromToSlot, place }: Props) => {
const { bikesAvailable, spacesAvailable } = place

const stationIcon = (
<CompanyIcon company={company} fallbackContent={<Bicycle />} />
<CompanyIcon
company={company}
fallbackContent={<Bicycle />}
height={22}
style={{ marginRight: '5px' }}
width={22}
/>
)

return (
Expand Down

0 comments on commit 53f83ec

Please sign in to comment.