From 8839fc0293cefa7af73ce639765c5b00e98c4abd Mon Sep 17 00:00:00 2001 From: swtmply Date: Wed, 24 May 2023 23:07:49 +0800 Subject: [PATCH] IO-2208 replaced cache first to network only --- client/src/components/chat-popup/chat-popup.component.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/chat-popup/chat-popup.component.jsx b/client/src/components/chat-popup/chat-popup.component.jsx index 899fd3058..1c80d7c4c 100644 --- a/client/src/components/chat-popup/chat-popup.component.jsx +++ b/client/src/components/chat-popup/chat-popup.component.jsx @@ -50,8 +50,8 @@ export function ChatPopupComponent({ getConversations, { loading, data, called, refetch, fetchMore, subscribeToMore }, ] = useLazyQuery(CONVERSATION_LIST_QUERY, { - fetchPolicy: "cache-and-network", - nextFetchPolicy: "cache-first", + fetchPolicy: "network-only", + nextFetchPolicy: "network-only", skip: !chatVisible, });