mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
disable Torus provider
* prevents SSR build, so disable until further investigation
This commit is contained in:
parent
3a83bea511
commit
fe28e7d182
@ -1,6 +1,6 @@
|
|||||||
import { infuraProjectId, network } from '../../app.config'
|
import { infuraProjectId, network } from '../../app.config'
|
||||||
import WalletConnectProvider from '@walletconnect/web3-provider'
|
import WalletConnectProvider from '@walletconnect/web3-provider'
|
||||||
import Torus from '@toruslabs/torus-embed'
|
// import Torus from '@toruslabs/torus-embed'
|
||||||
|
|
||||||
const web3ModalTheme = {
|
const web3ModalTheme = {
|
||||||
background: 'var(--brand-white)',
|
background: 'var(--brand-white)',
|
||||||
@ -16,17 +16,17 @@ const providerOptions = {
|
|||||||
options: {
|
options: {
|
||||||
infuraId: infuraProjectId
|
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 = {
|
export const web3ModalOpts = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user