MCPcopy
hub / github.com/shiyi-0x7f/o-lib / getCoverUrl

Function getCoverUrl

src/pages/FavoritesPage.tsx:65–67  ·  view source on GitHub ↗
(book: FavoriteBook)

Source from the content-addressed store, hash-verified

63
64
65 const getCoverUrl = (book: FavoriteBook): string | undefined => {
66 return getCoverUrlRaw(book.book_id, book.cover);
67 };
68
69 const loadFavorites = async () => {
70 setLoading(true);

Callers 9

FavoritesPageFunction · 0.85
HistoryPageFunction · 0.85
SearchListViewFunction · 0.85
SearchGridViewFunction · 0.85
handleDownloadFunction · 0.85
SearchPageFunction · 0.85
DiscoverGridViewFunction · 0.85
DiscoverPageFunction · 0.85
BookShelf3DFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected