diff --git a/src/App.tsx b/src/App.tsx index 1ae1d19..1c46923 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -34,7 +34,7 @@ const App = () => { return ( <> - {status ? ( + {status !== Status.Loading ? ( <> diff --git a/src/utils/data/TimetableManager.ts b/src/utils/data/TimetableManager.ts index b99a538..cced1be 100644 --- a/src/utils/data/TimetableManager.ts +++ b/src/utils/data/TimetableManager.ts @@ -203,8 +203,7 @@ class TimetableManager { }); fetchData.then((t) => this.saveTimetableLocally(groupName, t, data?.subgroup)); - // biome-ignore lint/suspicious/noExplicitAny: - return [cacheData, fetchData as any] as const; + return [cacheData, fetchData] as const; } getExamsTimetable(group: string, type?: TimetableType, checkCache = true): RenderPromises {