()
| 30 | }, length()) |
| 31 | |
| 32 | function goPrev(): void { |
| 33 | setCurrentPage(c => { |
| 34 | if (c > 1) { |
| 35 | return c - 1 |
| 36 | } |
| 37 | return length() |
| 38 | }) |
| 39 | } |
| 40 | function goNext(): void { |
| 41 | setCurrentPage(c => { |
| 42 | if (c < length()) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…