From 13ab61b6222b10ebe15763bd801e473d8e43e271 Mon Sep 17 00:00:00 2001 From: mmv Date: Fri, 8 Nov 2019 11:06:02 +0400 Subject: [PATCH] Enable torus again --- src/components/ConnectButton/index.jsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/ConnectButton/index.jsx b/src/components/ConnectButton/index.jsx index 57d18d35..a8dea978 100644 --- a/src/components/ConnectButton/index.jsx +++ b/src/components/ConnectButton/index.jsx @@ -3,6 +3,7 @@ import React, { useEffect } from 'react' import { withSnackbar } from 'notistack' import { connect } from 'react-redux' import Web3Connect from 'web3connect' +import Torus from '@toruslabs/torus-embed' import WalletConnectProvider from '@walletconnect/web3-provider' import Portis from '@portis/web3' import Squarelink from 'squarelink' @@ -34,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, + }, + }, }, })