Skip to content

Commit 3446b4c

Browse files
committed
Remove accidentally added file path in Pay UI (#4969)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on improving the user interface by removing unnecessary text from the error message displayed in the Pay UI of the `BuyScreen` component. ### Detailed summary - Updated the error message in the `BuyScreen` component to remove extra text. - The error message now simply states "Minimum amount is {errorMsg.minAmount}" without additional, redundant details. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent f83d266 commit 3446b4c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.changeset/hip-camels-cheat.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+
Remove extra text shown in Error Message in Pay UI

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,10 +1483,7 @@ function FiatScreenContent(props: {
14831483
<div>
14841484
{errorMsg.minAmount && (
14851485
<Text color="danger" size="sm" center multiline>
1486-
Minimum amount is {errorMsg.minAmount}
1487-
{
1488-
" packages/thirdweb/src/react/web/ui/ConnectWallet/TransactionsScreen.tsx"
1489-
}
1486+
Minimum amount is {errorMsg.minAmount}{" "}
14901487
<TokenSymbol
14911488
token={toToken}
14921489
chain={toChain}

0 commit comments

Comments
 (0)