()
| 279 | } |
| 280 | |
| 281 | const syncMention = () => { |
| 282 | const item = currentMention() |
| 283 | if (!item) { |
| 284 | closeMention() |
| 285 | return |
| 286 | } |
| 287 | |
| 288 | setOpen(true) |
| 289 | mention.onInput(item.query) |
| 290 | } |
| 291 | |
| 292 | const selectActiveMention = () => { |
| 293 | const items = mention.flat() |
no test coverage detected