IO-2208 replaced cache first to network only

This commit is contained in:
swtmply
2023-05-24 23:07:49 +08:00
parent c5c47e9bfc
commit 8839fc0293

View File

@@ -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,
});