mirror of
https://github.com/urosran/cally.git
synced 2025-11-27 00:44:54 +00:00
Fixes
This commit is contained in:
@ -130,7 +130,7 @@ export const useFetchAndSaveMicrosoftEvents = () => {
|
||||
}
|
||||
},
|
||||
onSuccess: (data) => {
|
||||
queryClient.invalidateQueries(["events"]);
|
||||
queryClient.invalidateQueries({queryKey: ["events"]});
|
||||
console.log(`Successfully synced ${data.eventCount} Microsoft events`);
|
||||
},
|
||||
onError: (error) => {
|
||||
|
||||
Reference in New Issue
Block a user