mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 08:24:55 +00:00
Don't spin on scroll
This commit is contained in:
@ -79,10 +79,9 @@ export default function TabLayout() {
|
||||
const setToDosIndex = useSetAtom(toDosPageIndex);
|
||||
const { resyncAllCalendars, isSyncing } = useCalSync();
|
||||
|
||||
const isFormatting = useIsFetching({queryKey: ['formattedEvents']}) > 0;
|
||||
const isFetching = useIsFetching({queryKey: ['events']}) > 0;
|
||||
|
||||
const isLoading = isSyncing || isFormatting || isFetching;
|
||||
const isLoading = isSyncing || isFetching;
|
||||
|
||||
const onRefresh = React.useCallback(async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user