Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ generateCommentEdge
Function
generateCommentEdge
packages/shared/src/hooks/post/useMutateComment.ts:33–35 ·
view source on GitHub ↗
(comment: Comment)
Source
from the content-addressed store, hash-verified
31
}
32
33
const
generateCommentEdge = (comment: Comment): Edge<Comment> => ({
34
node: { ...comment, children: { edges: [], pageInfo: null } },
35
});
36
37
interface
UseMutateCommentProps {
38
post?: Post;
Callers
1
updateQueryData
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected