(index: number)
| 204 | ); |
| 205 | |
| 206 | const onOpenModal = (index: number) => { |
| 207 | cancelRestore.current?.(); |
| 208 | if (!pmid) { |
| 209 | scrollPositionOnFeed.current = window.scrollY; |
| 210 | } |
| 211 | |
| 212 | onChangeSelected(index); |
| 213 | }; |
| 214 | |
| 215 | const getPostPosition = () => { |
| 216 | const firstPost = items.findIndex(isPostItem); |
no outgoing calls
no test coverage detected