Skip to content

Commit

Permalink
Change assets promise resolver (#4670)
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw authored Aug 17, 2023
1 parent 27fb0a7 commit 7ceba13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/atlas/src/hooks/useGetAssetUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const getSingleAssetUrl = async (
promises.push(assetTestPromise)
}

Promise.race(promises)
Promise.any(promises)
.then(res)
.catch((error) => {
ConsoleLogger.warn(`Error during fallback asset promise race`, {
Expand Down

0 comments on commit 7ceba13

Please sign in to comment.