Skip to content

Commit

Permalink
Fix discount
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewhany committed Nov 13, 2023
1 parent 2eac13d commit 823af52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ export function ApprovedDoctors() {
</Typography>
<Typography variant="body1">
<DiscountedPrice
originalPrice={doctor.sessionRate}
discountedPrice={doctor.hourlyRateWithMarkup}
discountedPrice={doctor.sessionRate}
originalPrice={doctor.hourlyRateWithMarkup}
/>
</Typography>
</Stack>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/features/patient-dashboard/routes/DoctorView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ export function DoctorView() {
</Typography>
<Typography variant="body1">
<DiscountedPrice
originalPrice={query.data!.sessionRate}
discountedPrice={query.data!.hourlyRateWithMarkup}
discountedPrice={query.data!.sessionRate}
originalPrice={query.data!.hourlyRateWithMarkup}
/>
</Typography>
</Stack>
Expand Down

0 comments on commit 823af52

Please sign in to comment.