MCPcopy
hub / github.com/tone-row/flowchart-fun / useUserId

Function useUserId

app/src/lib/hooks.ts:168–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 * Returns the user's id if available
167 */
168export function useUserId() {
169 const session = useSession();
170 return session?.user?.id;
171}

Callers 2

CloneButtonFunction · 0.90
New2Function · 0.90

Calls 1

useSessionFunction · 0.70

Tested by

no test coverage detected