1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00

disable Torus provider

* prevents SSR build, so disable until further investigation
This commit is contained in:
Matthias Kretschmann 2020-10-16 11:56:17 +02:00
parent 3a83bea511
commit fe28e7d182
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,6 +1,6 @@
import { infuraProjectId, network } from '../../app.config'
import WalletConnectProvider from '@walletconnect/web3-provider'
import Torus from '@toruslabs/torus-embed'
// import Torus from '@toruslabs/torus-embed'
const web3ModalTheme = {
background: 'var(--brand-white)',
@ -16,17 +16,17 @@ const providerOptions = {
options: {
infuraId: infuraProjectId
}
},
torus: {
package: Torus,
options: {
networkParams: {
// host: oceanConfig.url // optional
// chainId: 1337, // optional
// networkId: 1337 // optional
}
}
}
// torus: {
// package: Torus,
// options: {
// networkParams: {
// // host: oceanConfig.url // optional
// // chainId: 1337, // optional
// // networkId: 1337 // optional
// }
// }
// }
}
export const web3ModalOpts = {