typescript-typenfehler behoben.. npm run lint läuft nun fehlerfrei durch.
This commit is contained in:
@@ -44,7 +44,7 @@ export function EventProvider({ children }: { children: React.ReactNode }) {
|
||||
initialData: [],
|
||||
});
|
||||
|
||||
const events = authReady ? fetchedEvents : [];
|
||||
const events = React.useMemo(() => (authReady ? fetchedEvents : []), [authReady, fetchedEvents]);
|
||||
const isLoading = authReady ? queryLoading : status === 'loading';
|
||||
|
||||
React.useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user