Skip to content

Update credit purchase terminology in billing section #7705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function CreditBalanceSection({

<Separator />
<div className="space-y-2">
<h3 className="font-medium text-lg">Top Up Credits</h3>
<h3 className="font-medium text-lg">Credits</h3>
<p className="text-muted-foreground text-sm">
Add credits to your account for future billing cycles. Credits are
non-refundable and do not expire.
Expand Down Expand Up @@ -152,7 +152,7 @@ export function CreditBalanceSection({

<ToolTipLabel
label={
isOwnerAccount ? null : "Only team owners can top up credits."
isOwnerAccount ? null : "Only team owners can purchase credits."
}
>
<div>
Expand All @@ -168,7 +168,7 @@ export function CreditBalanceSection({
target="_blank"
>
<ThirdwebMiniLogo className="mr-2 h-4 w-4" />
Top Up With Crypto
Buy Credits
<ArrowRightIcon className="ml-2 h-4 w-4" />
</a>
</Button>
Expand Down Expand Up @@ -237,7 +237,7 @@ function TopUpSummary({
<div className="space-y-3 rounded-lg bg-muted/30 p-4">
<h3 className="font-medium text-sm">Summary</h3>
<div className="flex justify-between text-sm">
<span>Top-up amount:</span>
<span>Added credits:</span>
<span className="font-medium">{formatUsd(Number(selectedAmount))}</span>
</div>
<div className="flex justify-between text-sm">
Expand All @@ -255,7 +255,7 @@ function TopUpSummarySkeleton({ selectedAmount }: { selectedAmount: string }) {
<div className="space-y-3 rounded-lg bg-muted/30 p-4">
<h3 className="font-medium text-sm">Summary</h3>
<div className="flex justify-between text-sm">
<span>Top-up amount:</span>
<span>Added credits:</span>
<span className="font-medium">{formatUsd(Number(selectedAmount))}</span>
</div>
<div className="flex justify-between text-sm">
Expand All @@ -275,7 +275,7 @@ function TopUpSummaryErrorBoundary({
<div className="space-y-3 rounded-lg bg-muted/30 p-4">
<h3 className="font-medium text-sm">Summary</h3>
<div className="flex justify-between text-sm">
<span>Top-up amount:</span>
<span>Added credits:</span>
<span className="font-medium">{formatUsd(Number(selectedAmount))}</span>
</div>
<div className="flex justify-between text-sm">
Expand Down
Loading