mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
Fixes
This commit is contained in:
@ -166,7 +166,7 @@ export const AuthContextProvider: FC<{ children: ReactNode }> = ({children}) =>
|
||||
|
||||
useEffect(() => {
|
||||
const handleNotification = async (notification: Notifications.Notification) => {
|
||||
queryClient.invalidateQueries(["notifications"]);
|
||||
queryClient.invalidateQueries({queryKey: ["notifications"]});
|
||||
};
|
||||
|
||||
const sub = Notifications.addNotificationReceivedListener(handleNotification);
|
||||
|
||||
Reference in New Issue
Block a user