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

Function multiModePath

apps/client/src/code/utils/misc.ts:128–134  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

126}
127
128export function multiModePath(path: string) {
129 if (process.env.MODE === 'ssr') {
130 return path;
131 } else {
132 return `?rand=${nanoid()}#${path}`;
133 }
134}
135
136export function useResizeObserver(
137 elemFunc: () => Element | PromiseLike<Element>,

Callers 4

loginFunction · 0.90
logoutFunction · 0.90
goToPageMethod · 0.90
goToGroupMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected