Skip to content

Commit

Permalink
Switch billing page to SubscriptionCard competely
Browse files Browse the repository at this point in the history
-Stop conditionally rendering the 'Your Tier' section and rely on the conditional rendering inside SubscriptionCard instead
  • Loading branch information
haoyangw committed Oct 31, 2024
1 parent 7b3d003 commit f50f7e0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions frontend/app/(authenticated)/user/billing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,8 @@ const Page = () => {
</div>
<div className="flex flex-col gap-8 px-8 md:px-16 xl:px-56">
<div className="flex flex-col gap-4 w-auto pb-4">
{isUserUnverified ? (
<UnverifiedAlert />
) : (
<SubscriptionCard
user={user} />
)}
<SubscriptionCard
user={user} />
</div>
<div className="flex flex-col gap-4 w-auto pb-4">
<h2 className="text-2xl 2xl:text-3xl font-bold">Our Tiers</h2>
Expand Down

0 comments on commit f50f7e0

Please sign in to comment.