diff --git a/src/components/app/pieces-tab/index.jsx b/src/components/app/pieces-tab/index.jsx index 9194ab3..31d8c7a 100644 --- a/src/components/app/pieces-tab/index.jsx +++ b/src/components/app/pieces-tab/index.jsx @@ -72,7 +72,7 @@ const PiecesTabComponent = ({ if (!isOnline) { Promise.all( pieces.map(({ id, sampleNames }) => - library.canProvide(sampleNames).then(result => [id, result]) + library.has(sampleNames).then(result => [id, result]) ) ).then(results => { setIsPieceCachedMap(new Map(results));