mirror of
https://github.com/urosran/cally.git
synced 2025-07-14 17:25:46 +00:00
Fixes
This commit is contained in:
@ -30,7 +30,7 @@ export const useFetchAndSaveGoogleEvents = () => {
|
||||
}
|
||||
},
|
||||
onSuccess: (data) => {
|
||||
queryClient.invalidateQueries(["events"]);
|
||||
queryClient.invalidateQueries({queryKey: ["events"]});
|
||||
console.log(`Successfully synced ${data.eventCount} events`);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user