From 10584c5d89b56f9655fc06c35e20d6f9fbbb5970 Mon Sep 17 00:00:00 2001 From: Alyx BB Date: Sat, 30 Dec 2023 02:23:29 +0000 Subject: [PATCH] fix: startup failure when no show selected (#293) --- src/session/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/session/index.tsx b/src/session/index.tsx index caf0136..50863ce 100644 --- a/src/session/index.tsx +++ b/src/session/index.tsx @@ -69,8 +69,7 @@ const SessionHandler: React.FC = function() { error={userLoadError} percent={71} /> - {currentTimeslot === null && - timeslotLoadError == null && + {timeslotLoadError !== null && timeslotLoadError !== undefined && !timeslotLoading && redirectToTimeslotSelect()}