diff --git a/.changeset/short-stars-start.md b/.changeset/short-stars-start.md new file mode 100644 index 00000000000..a49ba48448f --- /dev/null +++ b/.changeset/short-stars-start.md @@ -0,0 +1,2 @@ +--- +--- \ No newline at end of file diff --git a/packages/clerk-js/src/ui/components/Statements/StatementPage.tsx b/packages/clerk-js/src/ui/components/Statements/StatementPage.tsx index e473576376d..31d7ce85901 100644 --- a/packages/clerk-js/src/ui/components/Statements/StatementPage.tsx +++ b/packages/clerk-js/src/ui/components/Statements/StatementPage.tsx @@ -67,8 +67,8 @@ export const StatementPage = () => { {group.items.map(item => ( @@ -78,15 +78,15 @@ export const StatementPage = () => { ? localizationKeys( `${localizationRoot}.billingPage.statementsSection.itemCaption__paidForPlan`, { - plan: item.subscription.plan.name, - period: item.subscription.planPeriod, + plan: item.subscriptionItem.plan.name, + period: item.subscriptionItem.planPeriod, }, ) : localizationKeys( `${localizationRoot}.billingPage.statementsSection.itemCaption__subscribedAndPaidForPlan`, { - plan: item.subscription.plan.name, - period: item.subscription.planPeriod, + plan: item.subscriptionItem.plan.name, + period: item.subscriptionItem.planPeriod, }, ) } @@ -95,12 +95,12 @@ export const StatementPage = () => { valueTruncated valueCopyable /> - {item.subscription.credit && item.subscription.credit.amount.amount > 0 ? ( + {item.subscriptionItem.credit && item.subscriptionItem.credit.amount.amount > 0 ? ( ) : null}