Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ function getPractitionerInfo(webhookRequest): Omit<PractitionerInfo, 'uuid'> {
practitionerInfo.fullName = `${webhookRequest[FIELD_NAMES.FULL_NAME].first} ${webhookRequest[FIELD_NAMES.FULL_NAME].last}`;
practitionerInfo.languagesList = ['English'].concat(webhookRequest[FIELD_NAMES.LANGUAGES].split('\r\n'));

const modalities = webhookRequest[FIELD_NAMES.MODALITY].split('\r\n')
practitionerInfo.modality = modalities.join(', ');

practitionerInfo.modality = webhookRequest[FIELD_NAMES.MODALITY].join(', ');

const rawAddress = webhookRequest[FIELD_NAMES.BUSINESS_LOCATION];
// e.g. 123 Main Street, Boston, MA 123456
practitionerInfo.businessLocation = `${rawAddress['addr_line1']} ${rawAddress['city']}, ${rawAddress['state']} ${rawAddress['postal']}}`;
practitionerInfo.businessLocation = `${rawAddress['addr_line1']} ${rawAddress['city']}, ${rawAddress['state']} ${rawAddress['postal']}`;

return practitionerInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const AgeFilter: React.FC = () => {
maxW={600}
>
{AGE_MARKS.map((mark: number) => (
<SliderMark value={mark} mt="1" ml="-2.5" fontSize="sm">
<SliderMark key={mark} value={mark} mt="1" ml="-2.5" fontSize="sm">
{mark}+ years
</SliderMark>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const LanguageFilter: React.FC = () => {
}}
>
{availableLanguages.map((language) => {
return <Checkbox value={language}>{language}</Checkbox>;
return <Checkbox key={language} value={language}>{language}</Checkbox>;
})}
</CheckboxGroup>
</HStack>
Expand Down
Loading