@@ -2,7 +2,7 @@ import { CopyTextButton } from "@/components/ui/CopyTextButton";
22import { TableCell , TableRow } from "@/components/ui/table" ;
33import { getThirdwebClient } from "@/constants/thirdweb.server" ;
44import { resolveSchemeWithErrorHandler } from "@/lib/resolveSchemeWithErrorHandler" ;
5- import { getContract , NATIVE_TOKEN_ADDRESS } from "thirdweb" ;
5+ import { NATIVE_TOKEN_ADDRESS , getContract } from "thirdweb" ;
66import { defineChain , getChainMetadata } from "thirdweb/chains" ;
77import { symbol } from "thirdweb/extensions/common" ;
88
@@ -36,34 +36,34 @@ export async function RouteListRow({
3636 originTokenAddress . toLowerCase ( ) === NATIVE_TOKEN_ADDRESS
3737 ? "ETH"
3838 : symbol ( {
39- contract : getContract ( {
40- address : originTokenAddress ,
41- chain : defineChain ( originChainId ) ,
42- client : getThirdwebClient ( ) ,
43- } ) ,
44- } ) . catch ( ( ) => undefined ) ,
39+ contract : getContract ( {
40+ address : originTokenAddress ,
41+ chain : defineChain ( originChainId ) ,
42+ client : getThirdwebClient ( ) ,
43+ } ) ,
44+ } ) . catch ( ( ) => undefined ) ,
4545 // eslint-disable-next-line no-restricted-syntax
4646 getChainMetadata ( defineChain ( destinationChainId ) ) ,
4747 destinationTokenAddress . toLowerCase ( ) === NATIVE_TOKEN_ADDRESS
4848 ? "ETH"
4949 : symbol ( {
50- contract : getContract ( {
51- address : destinationTokenAddress ,
52- chain : defineChain ( destinationChainId ) ,
53- client : getThirdwebClient ( ) ,
54- } ) ,
55- } ) . catch ( ( ) => undefined ) ,
50+ contract : getContract ( {
51+ address : destinationTokenAddress ,
52+ chain : defineChain ( destinationChainId ) ,
53+ client : getThirdwebClient ( ) ,
54+ } ) ,
55+ } ) . catch ( ( ) => undefined ) ,
5656 originTokenIconUri
5757 ? resolveSchemeWithErrorHandler ( {
58- uri : originTokenIconUri ,
59- client : getThirdwebClient ( ) ,
60- } )
58+ uri : originTokenIconUri ,
59+ client : getThirdwebClient ( ) ,
60+ } )
6161 : undefined ,
6262 destinationTokenIconUri
6363 ? resolveSchemeWithErrorHandler ( {
64- uri : destinationTokenIconUri ,
65- client : getThirdwebClient ( ) ,
66- } )
64+ uri : destinationTokenIconUri ,
65+ client : getThirdwebClient ( ) ,
66+ } )
6767 : undefined ,
6868 ] ) ;
6969
0 commit comments