MCPcopy Create free account
hub / github.com/emwalker/digraph / User

Function User

client/src/components/TopicPage/ViewTopicPage/index.test.tsx:137–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 },
136
137 User() {
138 const isPrivate = selectedRepoId !== 'wiki-repo-id'
139 return {
140 id: 'viewer-id',
141 selectedRepoId,
142 selectedRepo: selectedRepoId == null ? null : {
143 id: selectedRepoId,
144 isPrivate,
145 },
146 }
147 },
148 }),
149 )
150 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected