MCPcopy Create free account
hub / github.com/LumePart/Explo / handleFetch

Function handleFetch

src/web/frontend/src/components/ui/PlaylistCard.jsx:150–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }, [playlist])
149
150 const handleFetch = () => {
151 if (!lbUser) return
152 setFetching(true)
153 prefetchPlaylists(lbUser, [playlist])
154 .then(() => loadTracks(true))
155 .catch(e => setError(e.message))
156 .finally(() => setFetching(false))
157 }
158
159 const handleRun = async () => {
160 if (!onRun || running) return

Callers

nothing calls this directly

Calls 2

prefetchPlaylistsFunction · 0.90
loadTracksFunction · 0.85

Tested by

no test coverage detected