()
| 149 | }, [flows]); |
| 150 | |
| 151 | const selectCurrent = () => { |
| 152 | const action = actions[selectedIndex]; |
| 153 | if (!action) return; |
| 154 | void action.run().then(result => { |
| 155 | onDone(result, { display: 'system' }); |
| 156 | }); |
| 157 | }; |
| 158 | |
| 159 | useInput((_input, key) => { |
| 160 | if (key.upArrow) { |
no test coverage detected