Merge pull request #295 from UniversityRadioYork/alyx-show-select-redirect

fix: startup failure when no show selected (#293)
This commit is contained in:
alyxbb 2023-12-30 18:14:02 +00:00 committed by GitHub
commit bb55f91c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,8 +69,7 @@ const SessionHandler: React.FC = function() {
error={userLoadError}
percent={71}
/>
{currentTimeslot === null &&
timeslotLoadError == null &&
{timeslotLoadError !== null &&
timeslotLoadError !== undefined &&
!timeslotLoading &&
redirectToTimeslotSelect()}