Skip to content

Commit

Permalink
{subscription.cancel_at_period_end
Browse files Browse the repository at this point in the history
              ? "ends"
              : "renews"}
  • Loading branch information
greybluesea committed Sep 16, 2023
1 parent fa7d094 commit 5cfd0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/account/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 50,8 @@ const AccountContent = () => {
You are currently on the
<b> {subscription?.prices?.products?.name} </b>
plan, which {subscription.cancel_at_period_end
? "renews"
: "ends"}{" "}
? "ends"
: "renews"}{" "}
on{" "}
{new Date(subscription?.current_period_end).toLocaleDateString(
"en-NZ",
Expand Down

0 comments on commit 5cfd0ca

Please sign in to comment.