Skip to content

Commit 2bd59dd

Browse files
committed
Update credit purchase terminology in billing section
1 parent 1607229 commit 2bd59dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/billing/components/credit-balance-section.client.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function CreditBalanceSection({
6868

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

153153
<ToolTipLabel
154154
label={
155-
isOwnerAccount ? null : "Only team owners can top up credits."
155+
isOwnerAccount ? null : "Only team owners can purchase credits."
156156
}
157157
>
158158
<div>
@@ -168,7 +168,7 @@ export function CreditBalanceSection({
168168
target="_blank"
169169
>
170170
<ThirdwebMiniLogo className="mr-2 h-4 w-4" />
171-
Top Up With Crypto
171+
Buy Credits
172172
<ArrowRightIcon className="ml-2 h-4 w-4" />
173173
</a>
174174
</Button>
@@ -237,7 +237,7 @@ function TopUpSummary({
237237
<div className="space-y-3 rounded-lg bg-muted/30 p-4">
238238
<h3 className="font-medium text-sm">Summary</h3>
239239
<div className="flex justify-between text-sm">
240-
<span>Top-up amount:</span>
240+
<span>Credit amount:</span>
241241
<span className="font-medium">{formatUsd(Number(selectedAmount))}</span>
242242
</div>
243243
<div className="flex justify-between text-sm">
@@ -255,7 +255,7 @@ function TopUpSummarySkeleton({ selectedAmount }: { selectedAmount: string }) {
255255
<div className="space-y-3 rounded-lg bg-muted/30 p-4">
256256
<h3 className="font-medium text-sm">Summary</h3>
257257
<div className="flex justify-between text-sm">
258-
<span>Top-up amount:</span>
258+
<span>Credit amount:</span>
259259
<span className="font-medium">{formatUsd(Number(selectedAmount))}</span>
260260
</div>
261261
<div className="flex justify-between text-sm">
@@ -275,7 +275,7 @@ function TopUpSummaryErrorBoundary({
275275
<div className="space-y-3 rounded-lg bg-muted/30 p-4">
276276
<h3 className="font-medium text-sm">Summary</h3>
277277
<div className="flex justify-between text-sm">
278-
<span>Top-up amount:</span>
278+
<span>Credit amount:</span>
279279
<span className="font-medium">{formatUsd(Number(selectedAmount))}</span>
280280
</div>
281281
<div className="flex justify-between text-sm">

0 commit comments

Comments
 (0)