Skip to content

Commit

Permalink
fix:avoid reduntant message when only one network is available (#3720)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronexlemon authored Nov 4, 2024
1 parent 501834c commit d854b67
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ export function ChainConfirmationModalBody({
return (
<>
<p className="text-sm text-grey-400">
Checkout all your carts across different networks or select the cart you
wish to checkout now.
{chainIdsBeingCheckedOut.length > 1 && (
<>
Checkout all your carts across different networks or select the cart
you wish to checkout now.
</>
)}
</p>
<div className="my-4">
{Object.keys(projectsByChain)
Expand Down

0 comments on commit d854b67

Please sign in to comment.