(queryClient: QueryClient)
| 467 | }; |
| 468 | |
| 469 | export const invalidateChatListQueries = (queryClient: QueryClient) => { |
| 470 | return queryClient.invalidateQueries({ |
| 471 | queryKey: chatsKey, |
| 472 | predicate: isChatListQuery, |
| 473 | }); |
| 474 | }; |
| 475 | |
| 476 | /** |
| 477 | * Predicate that matches chat-list queries performing a regular |
no outgoing calls
no test coverage detected