()
| 110 | }; |
| 111 | |
| 112 | const handleClear = async () => { |
| 113 | setClearing(true); |
| 114 | setError(null); |
| 115 | try { |
| 116 | await store.clearGraph(); |
| 117 | setConfirmOpen(false); |
| 118 | onGraphCleared(); |
| 119 | } catch (err) { |
| 120 | setError(err instanceof Error ? err.message : 'Failed to clear graph'); |
| 121 | } finally { |
| 122 | setClearing(false); |
| 123 | } |
| 124 | }; |
| 125 | |
| 126 | const handleStrategyChange = (strategy: SummarizationStrategyType) => { |
| 127 | setSummaryStrategy(strategy); |
nothing calls this directly
no test coverage detected