Skip to content

Commit

Permalink
clients/subscriptions: conditional divider on cards
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Nov 2, 2023
1 parent d700e52 commit 7ba0ace
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const SubscriptionTierCard: React.FC<SubscriptionTierCardProps> = ({
)}
</div>
</CardHeader>
{benefitsToDisplay.length > 0 && (
{benefitsToDisplay.length > 0 && subscriptionTier.description && (
<Separator className="bg-[--var-border-color] dark:bg-[--var-dark-border-color]" />
)}
<CardContent className="flex shrink flex-col gap-y-2 p-0">
Expand Down

0 comments on commit 7ba0ace

Please sign in to comment.