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

Function rollbackMutationHandler

packages/shared/src/hooks/useBookmarkPost.ts:349–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 }
348
349 const rollbackMutationHandler = () => ({
350 bookmarked: previousState,
351 bookmark: previousBookmark,
352 analytics: previousAnalytics,
353 });
354
355 optimisticPostUpdateInFeed(
356 items,

Callers 3

CommentActionButtonsFunction · 0.85
CommentActionButtonsV1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected