@@ -195,7 +195,8 @@ function SwapUIBase(
195195 enabled :
196196 ! ! buyTokenWithPrices &&
197197 ! ! sellTokenWithPrices &&
198- ! ! props . amountSelection . amount ,
198+ ! ! props . amountSelection . amount &&
199+ ! ! props . activeWalletInfo ,
199200 queryFn : async ( ) : Promise < {
200201 result : Extract < BridgePrepareResult , { type : "buy" | "sell" } > ;
201202 request : Extract < BridgePrepareRequest , { type : "buy" | "sell" } > ;
@@ -656,7 +657,7 @@ function TokenSection(props: {
656657 gap : spacing . xxs ,
657658 } }
658659 >
659- < WalletDotIcon size = { fontSize . sm } />
660+ < WalletDotIcon size = { fontSize . xs } />
660661 < DecimalRenderer
661662 value = { formatTokenAmount (
662663 props . balance . data ,
@@ -706,7 +707,8 @@ function SelectedTokenButton(props: {
706707 gap = "xs"
707708 style = { {
708709 borderRadius : radius . full ,
709- padding : spacing . xs ,
710+ paddingBlock : spacing . xxs ,
711+ paddingInline : spacing . xs ,
710712 } }
711713 >
712714 { /* icons */ }
@@ -754,11 +756,11 @@ function SelectedTokenButton(props: {
754756 </ Container >
755757
756758 { /* token symbol and chain name */ }
757- < Container flex = "column" style = { { gap : "2px" } } >
759+ < Container flex = "column" >
758760 { props . selectedToken ?. isFetching ? (
759761 < Skeleton width = "40px" height = { fontSize . md } color = "modalBg" />
760762 ) : (
761- < Text size = "md " color = "primaryText" weight = { 500 } >
763+ < Text size = "sm " color = "primaryText" weight = { 500 } >
762764 { props . selectedToken ?. data ?. symbol }
763765 </ Text >
764766 ) }
@@ -782,7 +784,7 @@ function SelectedTokenButton(props: {
782784 ) }
783785 </ Container >
784786 < Container color = "secondaryText" >
785- < ChevronRightIcon width = { iconSize . sm } height = { iconSize . sm } />
787+ < ChevronRightIcon width = { iconSize . xs } height = { iconSize . xs } />
786788 </ Container >
787789 </ Button >
788790 ) ;
0 commit comments