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

Function removeBookmark

packages/shared/src/components/BookmarkFeedLayout.tsx:567–570  ·  view source on GitHub ↗
(post: Post)

Source from the content-addressed store, hash-verified

565 };
566
567 const removeBookmark = (post: Post) => {
568 moveSelectionFrom(post);
569 return toggleBookmark({ post, origin: Origin.BookmarksContextMenu });
570 };
571
572 // Reads, votes and bookmark changes made in the pane reach the row, and
573 // the pane's copy stays the selection once an action takes the row out of

Callers 4

onKeyDownFunction · 0.85
BookmarkFeedLayoutFunction · 0.85
useBookmarkPostFunction · 0.85
toggleBookmarkFunction · 0.85

Calls 2

moveSelectionFromFunction · 0.85
toggleBookmarkFunction · 0.50

Tested by

no test coverage detected