MCPcopy Create free account
hub / github.com/Surfer-Org/Protocol / handlePrevRun

Function handlePrevRun

desktop/src/renderer/components/WebviewManager.tsx:312–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310 }, [runs.length, dispatch]);
311
312 const handlePrevRun = () => {
313 dispatch(setActiveRunIndex(activeRunIndex - 1));
314 };
315
316 const handleNextRun = () => {
317 dispatch(setActiveRunIndex(activeRunIndex + 1));

Callers

nothing calls this directly

Calls 2

setActiveRunIndexFunction · 0.90
dispatchFunction · 0.85

Tested by

no test coverage detected