mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
Deletion fix
This commit is contained in:
@ -81,7 +81,9 @@ export default function TabLayout() {
|
||||
|
||||
const isFetching = useIsFetching({queryKey: ['events']}) > 0;
|
||||
|
||||
const isLoading = isSyncing || isFetching;
|
||||
const isLoading = React.useMemo(() => {
|
||||
return isSyncing || isFetching;
|
||||
}, [isSyncing, isFetching]);
|
||||
|
||||
const onRefresh = React.useCallback(async () => {
|
||||
try {
|
||||
|
||||
@ -56,6 +56,7 @@ import {Platform} from 'react-native';
|
||||
import KeyboardManager from 'react-native-keyboard-manager';
|
||||
import {enableScreens} from 'react-native-screens';
|
||||
import {PersistQueryClientProvider} from "@/contexts/PersistQueryClientProvider";
|
||||
import auth from "@react-native-firebase/auth";
|
||||
|
||||
enableScreens(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user