π OpenHands: AI-Driven Development
Remove queries from cache and do not refetch them after starting a conversation (#11453)
sp.wacka5c51339615f
diff --git a/frontend/src/hooks/mutation/use-create-conversation.ts b/frontend/src/hooks/mutation/use-create-conversation.tsindex 1d7336537a..f7ac88e499 100644--- a/frontend/src/hooks/mutation/use-create-conversation.ts+++ b/frontend/src/hooks/mutation/use-create-conversation.ts@@ -92,7 +92,7 @@ export const useCreateConversation = () => {query_character_length: query?.length,has_repository: !!repository,});- await queryClient.invalidateQueries({+ queryClient.removeQueries({queryKey: ["user", "conversations"],});},