Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/crazy-bees-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Reword buy with card in PayEmbed
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export function TransactionModeScreen(props: {
Insufficient Funds
</Text>
<Text size="xs" center multiline>
Select another token or pay with a debit card.
Select another token or pay with card.
</Text>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
)}

<Container flex="column" gap="sm">
<Text size="sm">Pay with a debit card</Text>
<Text size="sm">Pay with card</Text>

Check warning on line 180 in packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenContent.tsx

View check run for this annotation

Codecov / codecov/patch

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

Added line #L180 was not covered by tests
<div>
<PayWithCreditCard
isLoading={fiatQuoteQuery.isLoading}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export function SwapScreenContent(props: {
Insufficient Funds
</Text>
<Text size="xs" center multiline>
Select another token or pay with a debit card.
Select another token or pay with card.
</Text>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export function TokenSelectorScreen(props: {
>
<CardStackIcon width={iconSize.md} height={iconSize.md} />
<Text size="sm" color="primaryText">
Pay with a debit card
Pay with card
</Text>
</Container>
</Button>
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/react/web/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
code: "UNABLE_TO_GET_PRICE_QUOTE",
title: "Failed to Find Quote",
message:
"We couldn't get a quote for this token pair. Select another token or pay with a debit card.",
"We couldn't get a quote for this token pair. Select another token or pay with card.",

Check warning on line 32 in packages/thirdweb/src/react/web/utils/errors.ts

View check run for this annotation

Codecov / codecov/patch

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

Added line #L32 was not covered by tests
};
}
Loading