Skip to content

Commit d5c0ad6

Browse files
chore: restore variant switching
1 parent 5889312 commit d5c0ad6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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
@@ -230,7 +230,7 @@ export function FiatScreenContent(props: {
230230
</Container>
231231

232232
<Button
233-
variant="accent"
233+
variant={disableSubmit ? "outline" : "accent"}
234234
data-disabled={disableSubmit}
235235
disabled={disableSubmit}
236236
fullWidth

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
@@ -334,7 +334,7 @@ export function SwapScreenContent(props: {
334334
/>
335335
) : (
336336
<Button
337-
variant="accent"
337+
variant={disableContinue ? "outline" : "accent"}
338338
fullWidth
339339
data-disabled={disableContinue}
340340
disabled={disableContinue}

0 commit comments

Comments
 (0)