File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
wallet/src/routes/portfolio/assets Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
- import { createConfig , http } from 'wagmi'
1
+ import { createConfig , http , injected } from 'wagmi'
2
2
import { arbitrum , mainnet , optimism } from 'wagmi/chains'
3
3
4
4
export const config = createConfig ( {
@@ -10,6 +10,7 @@ export const config = createConfig({
10
10
[ optimism . id ] : http ( ) ,
11
11
[ arbitrum . id ] : http ( ) ,
12
12
} ,
13
+ connectors : [ injected ( ) ] ,
13
14
} )
14
15
15
16
declare module 'wagmi' {
Original file line number Diff line number Diff line change 9
9
10
10
import SplittedLayout from '@/components/splitted-layout'
11
11
import { useAssets } from '@/hooks/use-assets'
12
+ import { apiClient } from '@/providers/api-client'
12
13
13
14
import { Token } from './-components/token'
14
15
@@ -24,6 +25,11 @@ function Component() {
24
25
const { data : assets , isLoading } = useAssets ( )
25
26
const pathname = routerState . location . pathname
26
27
28
+ const wallets = apiClient . wallet . all . query ( )
29
+ wallets . then ( wallets => {
30
+ console . log ( wallets )
31
+ } )
32
+
27
33
return (
28
34
< >
29
35
< div className = "hidden 2xl:block" >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const ExchangeDialog = ({ onClose }: Props) => {
11
11
< div className = "relative w-full max-w-[400px] rounded-20 p-4" >
12
12
< div className = "flex items-center justify-end pb-3" >
13
13
< button onClick = { onClose } className = "p-1" >
14
- < CloseIcon size = { 20 } />
14
+ < CloseIcon />
15
15
</ button >
16
16
</ div >
17
17
< LifiWidget />
You can’t perform that action at this time.
0 commit comments