mirror of
https://github.com/urosran/cally.git
synced 2025-07-16 18:16:17 +00:00
cal sync improvements
This commit is contained in:
@ -308,8 +308,8 @@ export const useCalSync = () => {
|
||||
const handleNotification = async (notification: Notifications.Notification) => {
|
||||
const eventId = notification?.request?.content?.data?.eventId;
|
||||
|
||||
await resyncAllCalendars();
|
||||
// queryClient.invalidateQueries(["events"]);
|
||||
// await resyncAllCalendars();
|
||||
queryClient.invalidateQueries(["events"]);
|
||||
};
|
||||
|
||||
const sub = Notifications.addNotificationReceivedListener(handleNotification);
|
||||
|
Reference in New Issue
Block a user