MCPcopy Create free account
hub / github.com/dailydotdev/apps / mutationHandler

Function mutationHandler

packages/shared/src/hooks/useOnPostClick.ts:141–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140 if (eventName === 'go to link') {
141 const mutationHandler = () => {
142 return {
143 read: true,
144 };
145 };
146
147 if (feedQueryKey) {
148 const postIndex = items.findIndex(

Callers 9

useOnPostClickFunction · 0.70
trySetPostReadFunction · 0.70
CommentActionButtonsFunction · 0.50
CommentActionButtonsV1Function · 0.50
createVoteOnMutateFunction · 0.50
mutateVoteFeedPostFunction · 0.50
defaultOnMutateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected