Skip to content

Commit

Permalink
fix turnary operator issue (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyothishnt authored Dec 18, 2023
1 parent 1c3dfef commit 0fb4689
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const BlastSpeciesSelector = (
onClose={onClose}
/>

{currentData?.matches.length && (
{currentData?.matches.length ? (
<div className={styles.tableContainer}>
<SpeciesSearchResultsTable
results={deferredGenomes}
Expand All @@ -134,7 +134,7 @@ const BlastSpeciesSelector = (
onSpeciesSelectToggle={onGenomeStageToggle}
/>
</div>
)}
) : null}
</div>
);
};
Expand Down

0 comments on commit 0fb4689

Please sign in to comment.