Skip to content

Commit

Permalink
Readability nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Sep 24, 2024
1 parent 2ae5d92 commit 74992fe
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions apps/hyperdrive-trading/src/ui/markets/PoolRow/PoolsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,18 +296,17 @@ export function PoolsList(): ReactElement {
width: containerRef.current?.offsetWidth,
}}
>
<NonIdealState
heading={
allPools?.length || 0 > 0
? "No pools found"
: "No pools available"
}
text={
allPools?.length || 0 > 0
? "Try adjusting your filters."
: "Check back soon!"
}
/>
{allPools?.length || 0 > 0 ? (
<NonIdealState
heading={"No pools found"}
text={"Try adjusting your filters."}
/>
) : (
<NonIdealState
heading={"No pools available"}
text={"Check back soon!"}
/>
)}
</Well>
)}
</>
Expand Down

0 comments on commit 74992fe

Please sign in to comment.