Skip to content

Commit

Permalink
fix: Bug not pulling in all vaults on optimism (yearn#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
karelianpie authored Jul 9, 2023
1 parent c0eb6ef commit 71a591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/VaultEntity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function VaultEntity({
const shouldRenderDueToMissingIcon = hasMissingIconAnomaly && shouldShowIcons;
const shouldRenderDueToMissingPrice = hasMissingPriceAnomaly && shouldShowPrice;

if (!shouldRenderDueToMissingIcon && !shouldRenderDueToMissingPrice) {
if (!hasAnomalies && (!shouldRenderDueToMissingIcon && !shouldRenderDueToMissingPrice)) {
return null;
}

Expand Down

0 comments on commit 71a591f

Please sign in to comment.