From d92a9e807d9f565a054489eafc7aafb5b27eea62 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Thu, 19 Sep 2024 13:20:02 +0300 Subject: [PATCH] Show message if no conference is found for the specified year --- src/ScheduleLoader.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ScheduleLoader.jsx b/src/ScheduleLoader.jsx index b0da674..a742e4d 100644 --- a/src/ScheduleLoader.jsx +++ b/src/ScheduleLoader.jsx @@ -21,6 +21,7 @@ export default function ScheduleLoader({ return (<> {isLoading &&

Loading conferences...

} {error &&

Error loading conferences: {error}

} + {data && !conferenceId &&

No conference found for year {year}

} {conferenceId && } ); }