Skip to content

Commit

Permalink
Improve selected slot's UI (ohcnetwork#10095)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Jan 22, 2025
1 parent a894ce6 commit 506245a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/pages/Appointments/components/AppointmentSlotPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ export function AppointmentSlotPicker({
key={slot.id}
size="lg"
variant={
selectedSlotId === slot.id
? "outline_primary"
: "outline"
selectedSlotId === slot.id ? "primary" : "outline"
}
onClick={() => {
onSlotSelect(
Expand Down
2 changes: 1 addition & 1 deletion src/pages/PublicAppointments/Schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export function ScheduleAppointment(props: AppointmentsProps) {
size="lg"
variant={
selectedSlot?.id === slot.id
? "outline_primary"
? "primary"
: "outline"
}
onClick={() => {
Expand Down

0 comments on commit 506245a

Please sign in to comment.