()
| 38 | let destroy: (() => void) | void |
| 39 | |
| 40 | const handleSelectionChange = () => { |
| 41 | if (destroy) destroy() |
| 42 | destroy = aciton() |
| 43 | } |
| 44 | editor.on('selectionchange', handleSelectionChange) |
| 45 | if (editorRef.current !== editor) { |
| 46 | destroy = aciton() |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…