Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/triggerdotdev/jsonhero-web
/ toggleOpen
Function
toggleOpen
app/components/RelatedValues.tsx:31–37 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
29
}, [json, relatedPaths]);
30
31
const toggleOpen = (id: string) => {
32
if (openId === id) {
33
setOpenId(null);
34
} else {
35
setOpenId(id);
36
}
37
};
38
39
return (
40
<>
Callers
2
RelatedValues
Function · 0.85
RelatedValuesGroupItem
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected