feature/IO-3000-messaging-sockets-migration2 - Handle some of the PR notes

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-11-25 08:42:02 -08:00
parent 5e2c0f9c4a
commit 457a3b2d7a
2 changed files with 3 additions and 5 deletions

View File

@@ -25,7 +25,8 @@ export function ChatConversationContainer({ bodyshop, selectedConversation }) {
data: convoData
} = useQuery(GET_CONVERSATION_DETAILS, {
variables: { conversationId: selectedConversation },
fetchPolicy: "network-only"
fetchPolicy: "network-only",
nextFetchPolicy: "network-only"
});
const updateCacheWithReadMessages = useCallback(