MCPcopy 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
33const generateCommentEdge = (comment: Comment): Edge<Comment> => ({
34 node: { ...comment, children: { edges: [], pageInfo: null } },
35});
36
37interface UseMutateCommentProps {
38 post?: Post;

Callers 1

updateQueryDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected