try to enable torus

This commit is contained in:
mmv 2019-11-12 12:24:48 +04:00
parent eee95bfa9d
commit dbbf8ddb0b
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,
},
},
},
})