()
| 1362 | const [showClearConfirm, setShowClearConfirm] = useState(false) |
| 1363 | |
| 1364 | const handleAdd = () => { |
| 1365 | if (!newMemoryContent.trim()) return |
| 1366 | addMemory({ |
| 1367 | type: newMemoryType, |
| 1368 | content: newMemoryContent.trim(), |
| 1369 | source: 'manual', |
| 1370 | active: true |
| 1371 | }) |
| 1372 | setNewMemoryContent('') |
| 1373 | setNewMemoryType('fact') |
| 1374 | setShowAddForm(false) |
| 1375 | } |
| 1376 | |
| 1377 | const handleEdit = (id: string) => { |
| 1378 | if (!editContent.trim()) return |
nothing calls this directly
no outgoing calls
no test coverage detected