mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
parent
e5563c88b1
commit
3ea627df8d
@ -1,5 +1,6 @@
|
|||||||
import loadable from '@loadable/component'
|
|
||||||
import { infuraProjectId, network } from '../../app.config'
|
import { infuraProjectId, network } from '../../app.config'
|
||||||
|
import WalletConnectProvider from '@walletconnect/web3-provider'
|
||||||
|
import Torus from '@toruslabs/torus-embed'
|
||||||
|
|
||||||
const web3ModalTheme = {
|
const web3ModalTheme = {
|
||||||
background: 'var(--brand-white)',
|
background: 'var(--brand-white)',
|
||||||
@ -9,11 +10,6 @@ const web3ModalTheme = {
|
|||||||
hover: 'var(--brand-grey-dimmed)'
|
hover: 'var(--brand-grey-dimmed)'
|
||||||
}
|
}
|
||||||
|
|
||||||
const WalletConnectProvider = loadable(
|
|
||||||
() => import('@walletconnect/web3-provider') as any
|
|
||||||
)
|
|
||||||
const Torus = loadable(() => import('@toruslabs/torus-embed') as any)
|
|
||||||
|
|
||||||
const providerOptions = {
|
const providerOptions = {
|
||||||
walletconnect: {
|
walletconnect: {
|
||||||
package: WalletConnectProvider,
|
package: WalletConnectProvider,
|
||||||
|
Loading…
Reference in New Issue
Block a user