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

Function rollbackMutationHandler

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

Source from the content-addressed store, hash-verified

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

Callers 3

CommentActionButtonsFunction · 0.85
CommentActionButtonsV1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected