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

Function writeStack

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

Source from the content-addressed store, hash-verified

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

Callers 1

recordShellRouteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected