Show message if no conference is found for the specified year
This commit is contained in:
parent
8a429b0a93
commit
d92a9e807d
|
@ -21,6 +21,7 @@ export default function ScheduleLoader({
|
|||
return (<>
|
||||
{isLoading && <p>Loading conferences...</p>}
|
||||
{error && <p>Error loading conferences: {error}</p>}
|
||||
{data && !conferenceId && <p>No conference found for year {year}</p>}
|
||||
{conferenceId && <Schedule conferenceId={conferenceId} lang={lang} />}
|
||||
</>);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue