File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
components/swap/hooks/use-swap Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ export function useSwap(
73
73
[ selectedQuote ] ,
74
74
)
75
75
76
+ console . log ( 'selectedQuote' , selectedQuote )
77
+ console . log ( 'quoteResults' , quoteResults )
78
+
76
79
const contract = useMemo (
77
80
( ) => selectedQuote ?. contract ?? null ,
78
81
[ selectedQuote ] ,
Original file line number Diff line number Diff line change @@ -22,12 +22,10 @@ export const useApproval = (
22
22
const tokenAddress = useMemo ( ( ) => {
23
23
if ( ! publicClient ) return null
24
24
const chainId = publicClient ?. chain . id
25
- console . log ( 'chainId' , chainId )
26
- console . log ( 'token' , token )
27
25
return getAddressForToken ( token . symbol , chainId ) ?? null
28
26
} , [ publicClient , token ] )
29
27
30
- console . log ( 'tokenAddress ' , tokenAddress )
28
+ console . log ( 'spenderAddress ' , spenderAddress )
31
29
32
30
const { data, refetch } = useReadContract ( {
33
31
address : tokenAddress as Address ,
You can’t perform that action at this time.
0 commit comments