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

Function mutationHandler

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

Source from the content-addressed store, hash-verified

145
146 if (eventName === 'go to link') {
147 const mutationHandler = () => {
148 return {
149 read: true,
150 };
151 };
152
153 if (feedQueryKey) {
154 const postIndex = items.findIndex(

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected