We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa14b55 commit c4bf6b3Copy full SHA for c4bf6b3
1 file changed
src/frontend/src/pages/CalendarPage/Components/ScheduleEventModal.tsx
@@ -88,15 +88,9 @@ const ScheduleEventModal: React.FC<ScheduleEventModalProps> = ({
88
Cancel
89
</NERFailButton>
90
91
- {beingRescheduled ? (
92
- <NERSuccessButton onClick={handleConfirm} disabled={isLoading}>
93
- {isLoading ? 'Scheduling...' : 'Confirm Reschedule'}
94
- </NERSuccessButton>
95
- ) : (
96
97
- {isLoading ? 'Scheduling...' : 'Confirm Schedule'}
98
99
- )}
+ <NERSuccessButton onClick={handleConfirm} disabled={isLoading}>
+ {beingRescheduled ? 'Confirm Reschedule' : 'Confirm Schedule'}
+ </NERSuccessButton>
100
</DialogActions>
101
</Dialog>
102
);
0 commit comments