()
| 147 | // The drawer's own close (the X, a link in the article to a page of the |
| 148 | // app): the post page stays, so from a feed card nothing in history moves. |
| 149 | export const closeReading = (): void => { |
| 150 | if (state.fromFeed) { |
| 151 | set(closed); |
| 152 | return; |
| 153 | } |
| 154 | requestReadingClose(); |
| 155 | }; |
| 156 | |
| 157 | // Read on a feed card: the shell routes to the post page, which opens the |
| 158 | // article behind itself on arrival, the same drawer as Read on the post. |
no test coverage detected