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

Function locationDescriptor

client/src/components/ui/Item/index.tsx:17–26  ·  view source on GitHub ↗
(pathname: string, itemTitle: string)

Source from the content-addressed store, hash-verified

15}
16
17function locationDescriptor(pathname: string, itemTitle: string) {
18 return {
19 pathname,
20 query: {},
21 search: '',
22 state: {
23 itemTitle,
24 },
25 }
26}
27
28function CloseButton({ toggleForm }: { toggleForm: () => void }) {
29 return (

Callers 2

TitleLinkFunction · 0.85
OuterTopicBadgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected