Merge pull request #254 from gnosis/124-web3connect-new

Try to enable torus
This commit is contained in:
Mikhail Mikheev 2019-11-12 14:57:42 +04:00 committed by GitHub
commit 33d8153593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
import React from 'react'
import { connect } from 'react-redux'
import Web3Connect from 'web3connect'
// import Torus from '@toruslabs/torus-embed'
import Torus from '@toruslabs/torus-embed'
import WalletConnectProvider from '@walletconnect/web3-provider'
import Portis from '@portis/web3'
import Squarelink from 'squarelink'
@ -35,15 +35,15 @@ export const web3Connect = new Web3Connect.Core({
id: SQUARELINK_CLIENT_ID,
},
},
// torus: {
// package: Torus,
// options: {
// enableLogging: false,
// buttonPosition: 'bottom-left',
// buildEnv: process.env.NODE_ENV,
// showTorusButton: true,
// },
// },
torus: {
package: Torus,
options: {
enableLogging: false,
buttonPosition: 'bottom-left',
buildEnv: process.env.NODE_ENV,
showTorusButton: true,
},
},
},
})