Skip to content

Commit 7684b76

Browse files
[SDK] Change "pay with a debit card" to "pay with card" (#6891)
1 parent e03b622 commit 7684b76

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

.changeset/crazy-bees-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Reword buy with card in PayEmbed

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/TransactionModeScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export function TransactionModeScreen(props: {
193193
Insufficient Funds
194194
</Text>
195195
<Text size="xs" center multiline>
196-
Select another token or pay with a debit card.
196+
Select another token or pay with card.
197197
</Text>
198198
</div>
199199
)}

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export function FiatScreenContent(props: {
177177
)}
178178

179179
<Container flex="column" gap="sm">
180-
<Text size="sm">Pay with a debit card</Text>
180+
<Text size="sm">Pay with card</Text>
181181
<div>
182182
<PayWithCreditCard
183183
isLoading={fiatQuoteQuery.isLoading}

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export function SwapScreenContent(props: {
316316
Insufficient Funds
317317
</Text>
318318
<Text size="xs" center multiline>
319-
Select another token or pay with a debit card.
319+
Select another token or pay with card.
320320
</Text>
321321
</div>
322322
)}

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/TokenSelectorScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export function TokenSelectorScreen(props: {
281281
>
282282
<CardStackIcon width={iconSize.md} height={iconSize.md} />
283283
<Text size="sm" color="primaryText">
284-
Pay with a debit card
284+
Pay with card
285285
</Text>
286286
</Container>
287287
</Button>

packages/thirdweb/src/react/web/utils/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export function getErrorMessage(err: any): ApiError {
2929
code: "UNABLE_TO_GET_PRICE_QUOTE",
3030
title: "Failed to Find Quote",
3131
message:
32-
"We couldn't get a quote for this token pair. Select another token or pay with a debit card.",
32+
"We couldn't get a quote for this token pair. Select another token or pay with card.",
3333
};
3434
}

0 commit comments

Comments
 (0)