mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 16:34:54 +00:00
Fixes
This commit is contained in:
@ -302,7 +302,7 @@ export const useCalSync = () => {
|
||||
|
||||
useEffect(() => {
|
||||
const handleNotification = async (notification: Notifications.Notification) => {
|
||||
queryClient.invalidateQueries(["events"]);
|
||||
queryClient.invalidateQueries({queryKey: ["events"]});
|
||||
};
|
||||
|
||||
const sub = Notifications.addNotificationReceivedListener(handleNotification);
|
||||
|
||||
Reference in New Issue
Block a user