Skip to content

Commit 7b72e88

Browse files
[SDK] Fix: Apply accentButtonText theme key to the Spinner inside of PayEmbed Buttons (#7110)
Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com>
1 parent 4b9a506 commit 7b72e88

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/slick-apes-do.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+
Fix loading spinner theme color in PayEmbed

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
@@ -291,7 +291,7 @@ export function FiatScreenContent(props: {
291291
{fiatQuoteQuery.isLoading ? (
292292
<>
293293
Getting price quote
294-
<Spinner size="sm" color="accentText" />
294+
<Spinner size="sm" color="accentButtonText" />
295295
</>
296296
) : (
297297
"Continue"

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
@@ -389,7 +389,7 @@ export function SwapScreenContent(props: {
389389
{quoteQuery.isLoading ? (
390390
<>
391391
Getting price quote
392-
<Spinner size="sm" color="accentText" />
392+
<Spinner size="sm" color="accentButtonText" />
393393
</>
394394
) : (
395395
"Continue"

0 commit comments

Comments
 (0)