MCPcopy Create free account
hub / github.com/9d8dev/directory / handleEdit

Function handleEdit

components/admin/bookmark-manager.tsx:237–241  ·  view source on GitHub ↗
(bookmark: BookmarkWithCategory)

Source from the content-addressed store, hash-verified

235 };
236
237 const handleEdit = (bookmark: BookmarkWithCategory) => {
238 setSelectedBookmark(bookmark);
239 setIsNewBookmark(false);
240 setIsSheetOpen(true);
241 };
242
243 const handleNew = () => {
244 setSelectedBookmark(null);

Callers 1

BookmarkManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected