(conversation: Conversation)
| 87 | }; |
| 88 | |
| 89 | const handleDeleteConversation = (conversation: Conversation) => { |
| 90 | conversationStore.clearConversation((item) => item.id !== conversation.id); |
| 91 | if (conversationStore.currentConversationId === conversation.id) { |
| 92 | conversationStore.setCurrentConversationId(undefined); |
| 93 | } |
| 94 | }; |
| 95 | |
| 96 | return ( |
| 97 | <> |
nothing calls this directly
no outgoing calls
no test coverage detected