Closed binh-dam-ibigroup closed 4 years ago
MOD UI becomes all blank after clicking Bikeshare under Travel Options. This is associated with warnings about undefined rental company icons.
To reproduce:
packages/trip-form/src/__mocks__/companies.js
commonCompanies
{ id: "UNKNOWN_BIKESHARE", label: "Unknown Bikeshare", modes: "BICYCLE_RENT" }
SettingsSelectorPanel
~1. in OTP-RR config, enter a rental company whose icon is not in OTP-UI/icons package, e.g.:~
companies: - id: CITIBIKE label: Citibike modes: BICYCLE_RENT
~2. Load MOD UI, click Travel Options, then click Bikeshare.~ ~3. The entire browser screen goes blank.~
Issue description has been updated to reproduce the issue in Storybook instead of OTP-RR.
MOD UI becomes all blank after clicking Bikeshare under Travel Options. This is associated with warnings about undefined rental company icons.
To reproduce:
packages/trip-form/src/__mocks__/companies.js
, add the following entry to thecommonCompanies
array:SettingsSelectorPanel
~1. in OTP-RR config, enter a rental company whose icon is not in OTP-UI/icons package, e.g.:~
~2. Load MOD UI, click Travel Options, then click Bikeshare.~ ~3. The entire browser screen goes blank.~