()
| 234 | }; |
| 235 | |
| 236 | const handleDeleteConnection = () => { |
| 237 | connectionStore.clearConnection((item) => item.id !== connection.id); |
| 238 | if (connectionStore.currentConnectionCtx?.connection.id === connection.id) { |
| 239 | connectionStore.setCurrentConnectionCtx(undefined); |
| 240 | } |
| 241 | close(); |
| 242 | }; |
| 243 | |
| 244 | return ( |
| 245 | <> |
no test coverage detected