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

Function writeStack

packages/shared/src/components/shell/shellNav.ts:184–190  ·  view source on GitHub ↗
(stack: RouteStack)

Source from the content-addressed store, hash-verified

182};
183
184const writeStack = (stack: RouteStack) => {
185 try {
186 globalThis.sessionStorage?.setItem(stackKey, JSON.stringify(stack));
187 } catch {
188 // private mode: back falls to the fallback
189 }
190};
191
192const isSameSiteReferrer = (): boolean => {
193 const referrer = globalThis?.document?.referrer;

Callers 1

recordShellRouteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected