(selectedKeys, info)
| 59 | } |
| 60 | |
| 61 | const onSelect = (selectedKeys, info) => { |
| 62 | console.log('selected', selectedKeys, info); |
| 63 | setSelectKey(selectedKeys[0]) |
| 64 | setEditorContent({ |
| 65 | json:databaseItems[selectedKeys[0]]?JSON.parse(databaseItems[selectedKeys[0]]):{}, |
| 66 | text:undefined |
| 67 | }) |
| 68 | } |
| 69 | |
| 70 | |
| 71 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected