File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ export function OnRampScreen(props: {
148148
149149 < Container flex = "column" gap = "md" >
150150 { ! state . isDone &&
151- firstStepChainId &&
152- firstStepChainId !== props . payer . chain . id ? (
151+ firstStepChainId &&
152+ firstStepChainId !== props . payer . chain . id ? (
153153 < SwitchNetworkButton
154154 fullWidth
155155 variant = "accent"
@@ -569,10 +569,10 @@ function useSwapStatus(props: {
569569 const swapStatus = useBuyWithCryptoStatus (
570570 props . transactionHash && props . chainId
571571 ? {
572- client : props . client ,
573- transactionHash : props . transactionHash ,
574- chainId : props . chainId ,
575- }
572+ client : props . client ,
573+ transactionHash : props . transactionHash ,
574+ chainId : props . chainId ,
575+ }
576576 : undefined ,
577577 ) ;
578578
@@ -583,10 +583,10 @@ function useSwapStatus(props: {
583583 uiStatus = "completed" ;
584584 break ;
585585 case "FAILED" :
586- case "NOT_FOUND" :
587586 uiStatus = "failed" ;
588587 break ;
589588 case "PENDING" :
589+ case "NOT_FOUND" :
590590 uiStatus = "pending" ;
591591 break ;
592592 case "NONE" :
@@ -793,7 +793,7 @@ function isInAppSigner(options: {
793793 ( w ) =>
794794 isInAppOrEcosystem ( w ) &&
795795 w . getAccount ( ) ?. address ?. toLowerCase ( ) ===
796- options . wallet . getAdminAccount ?.( ) ?. address ?. toLowerCase ( ) ,
796+ options . wallet . getAdminAccount ?.( ) ?. address ?. toLowerCase ( ) ,
797797 ) ;
798798 return isInAppOrEcosystem ( options . wallet ) || isSmartWalletWithAdmin ;
799799}
You can’t perform that action at this time.
0 commit comments