Skip to content

Commit

Permalink
CR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Feb 22, 2024
1 parent f30c5ef commit 500317d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/atlas/src/providers/assets/assets.provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ export const useStorageOperators = () => {
if (includeFailed) {
return bagOperators
}

const blacklistedStorageOperators = evaluateStorageOperators()
const workingBagOperators = bagOperators.filter(
(operator) => !evaluateStorageOperators().some(([id]) => operator.id === id)
(operator) => !blacklistedStorageOperators.some(([id]) => operator.id === id)
)

if (!workingBagOperators || !workingBagOperators.length) {
Expand Down

0 comments on commit 500317d

Please sign in to comment.