MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / goPrev

Function goPrev

packages/frontend/src/ui/error-overlay.tsx:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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()) {

Callers

nothing calls this directly

Calls 1

lengthFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…