MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / goForward

Method goForward

apps/client/src/code/pages/pages.ts:336–346  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

334 }
335
336 async goForward() {
337 const pageIndex = this.react.pathPageIds.indexOf(this.react.pageId!);
338
339 if (pageIndex < this.react.pathPageIds.length - 1) {
340 await this.goToPage(
341 this.react.pathPageIds[
342 this.react.pathPageIds.indexOf(this.react.pageId!) + 1
343 ],
344 );
345 }
346 }
347
348 destroy() {
349 for (const page of this.pageCache.react.cache) {

Callers

nothing calls this directly

Calls 1

goToPageMethod · 0.95

Tested by

no test coverage detected