()
| 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 |
nothing calls this directly
no test coverage detected