(comments: LineComment[])
| 133 | } |
| 134 | |
| 135 | const replace = (comments: LineComment[]) => { |
| 136 | batch(() => { |
| 137 | setStore("comments", reconcile(group(comments))) |
| 138 | setFocus(null) |
| 139 | setActive(null) |
| 140 | }) |
| 141 | } |
| 142 | |
| 143 | const clear = () => { |
| 144 | batch(() => { |