File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const intiOnboard = async (theme) => {
3232 const { default : trezorModule } = await import ( '@web3-onboard/trezor' )
3333 const { default : ledgerModule } = await import ( '@web3-onboard/ledger' )
3434 const { default : walletConnectModule } = await import ( '@web3-onboard/walletconnect' )
35- // const { default: infinityWalletModule } = await import('@web3-onboard/infinity-wallet')
35+ const { default : infinityWalletModule } = await import ( '@web3-onboard/infinity-wallet' )
3636 const { default : coinbaseModule } = await import ( '@web3-onboard/coinbase' )
3737 const { default : dcentModule } = await import ( '@web3-onboard/dcent' )
3838 const { default : portisModule } = await import ( '@web3-onboard/portis' )
@@ -53,7 +53,7 @@ const intiOnboard = async (theme) => {
5353 const INFURA_ID = '8b60d52405694345a99bcb82e722e0af'
5454
5555 const injected = injectedModule ( )
56- // const infinityWallet = infinityWalletModule()
56+ const infinityWallet = infinityWalletModule ( )
5757 const coinbase = coinbaseModule ( )
5858 const dcent = dcentModule ( )
5959 const walletConnect = walletConnectModule ( {
@@ -121,7 +121,7 @@ const intiOnboard = async (theme) => {
121121 torus ,
122122 sequence ,
123123 web3auth ,
124- // infinityWallet,
124+ infinityWallet ,
125125 dcent ,
126126 enkrypt ,
127127 mewWallet ,
Original file line number Diff line number Diff line change @@ -33,16 +33,7 @@ const config = {
3333 vite : {
3434 build : {
3535 rollupOptions : {
36- external : [
37- '@web3-react/core' ,
38- '@web3-react/eip1193' ,
39- '@web3-react/metamask' ,
40- '@web3-react/network' ,
41- '@web3-react/walletconnect' ,
42- '@web3-react/types' ,
43- '@web3-react/url' ,
44- '@web3-onboard/*'
45- ] ,
36+ external : [ '@web3-onboard/*' ] ,
4637 plugins : [ nodePolyfills ( { crypto : true , http : true } ) ]
4738 } ,
4839 commonjsOptions : {
You can’t perform that action at this time.
0 commit comments