Skip to content

Commit

Permalink
if strats
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam committed Feb 26, 2025
1 parent 59d425a commit 29059dd
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
const invalidStrategies = strategyDetails.filter((strategy) => strategy.error);
</script>

<ValidStrategiesSection {validStrategies} />
<InvalidStrategiesSection {invalidStrategies} />
{#if validStrategies.length > 0}
<ValidStrategiesSection {validStrategies} />
{/if}

{#if invalidStrategies.length > 0}
<InvalidStrategiesSection {invalidStrategies} />
{/if}

0 comments on commit 29059dd

Please sign in to comment.