Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1874 from alti21/master
Browse files Browse the repository at this point in the history
Updated react-scripts to version 3.4
  • Loading branch information
matteovivona authored Mar 3, 2020
2 parents 392d751 + 64f7ead commit 0d26e82
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"react-redux": "~7.2.0",
"react-router": "~5.1.2",
"react-router-dom": "~5.1.2",
"react-scripts": "~3.3.0",
"react-scripts": "3.4.0",
"redux": "~4.0.5",
"redux-thunk": "~2.3.0",
"typescript": "~3.8.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ describe('AppointmentDetailForm', () => {
expect(typeSelect.prop('options')[2].value).toEqual('follow up')
expect(typeSelect.prop('options')[3].label).toEqual('scheduling.appointment.types.routine')
expect(typeSelect.prop('options')[3].value).toEqual('routine')
expect(typeSelect.prop('options')[4].label).toEqual('scheduling.appointment.types.walkUp')
expect(typeSelect.prop('options')[4].value).toEqual('walk up')
expect(typeSelect.prop('options')[4].label).toEqual('scheduling.appointment.types.walkIn')
expect(typeSelect.prop('options')[4].value).toEqual('walk in')
expect(typeSelect.prop('value')).toEqual(expectedAppointment.type)
})

Expand Down
2 changes: 1 addition & 1 deletion src/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"emergency": "Emergency",
"followUp": "Follow Up",
"routine": "Routine",
"walkUp": "Walk Up"
"walkIn": "Walk In"
},
"errors": {
"patientRequired": "Patient is required.",
Expand Down
2 changes: 1 addition & 1 deletion src/scheduling/appointments/AppointmentDetailForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const AppointmentDetailForm = (props: Props) => {
{ label: t('scheduling.appointment.types.emergency'), value: 'emergency' },
{ label: t('scheduling.appointment.types.followUp'), value: 'follow up' },
{ label: t('scheduling.appointment.types.routine'), value: 'routine' },
{ label: t('scheduling.appointment.types.walkUp'), value: 'walk up' },
{ label: t('scheduling.appointment.types.walkIn'), value: 'walk in' },
]}
onChange={(event: React.ChangeEvent<HTMLSelectElement>) => {
onSelectChange(event, 'type')
Expand Down

1 comment on commit 0d26e82

@vercel
Copy link

@vercel vercel bot commented on 0d26e82 Mar 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.