File tree Expand file tree Collapse file tree
pages/SettingsPage/UserScheduleSettings/Availability Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ const TimeSlot: React.FC<TimeSlotProps> = ({
2828 onMouseUp,
2929 onMouseOver,
3030 onClick,
31- heightOverride = undefined ,
32- widthOverride = undefined ,
31+ heightOverride,
32+ widthOverride,
3333 selected = false
3434} ) => {
3535 return (
3636 < Box
3737 sx = { {
38- height : heightOverride ? heightOverride : small ? '25px' : '4.7vh' ,
39- width : widthOverride ? widthOverride : small ? '81px' : '12.2%' ,
38+ height : ( heightOverride ?? small ) ? '25px' : '4.7vh' ,
39+ width : ( widthOverride ?? small ) ? '81px' : '12.2%' ,
4040 backgroundColor,
4141 cursor : onMouseEnter ? 'pointer' : undefined ,
4242 borderStyle : 'solid' ,
Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ const EditAvailability: React.FC<EditAvailabilityProps> = ({
137137 widthOverride = "106px"
138138 heightOverride = "40px"
139139 text = {
140- < >
140+ < Typography >
141141 { getDayOfWeek ( availability . dateSet ) } < br /> { datePipe ( availability . dateSet ) }
142- </ >
142+ </ Typography >
143143 }
144144 fontSize = { '12px' }
145145 />
You can’t perform that action at this time.
0 commit comments