MCPcopy Create free account
hub / github.com/dailydotdev/apps / emptyStack

Function emptyStack

packages/shared/src/components/shell/shellNav.ts:167–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165type DocumentArrival = 'navigate' | 'reload' | 'back_forward';
166
167const emptyStack = (): RouteStack => ({ routes: [], pointer: -1 });
168
169const readStack = (): RouteStack => {
170 try {

Callers 1

readStackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected