From cca6fda0a39554bddde2f35135c33678b49ee6b7 Mon Sep 17 00:00:00 2001 From: Mikhail Mikheev Date: Fri, 8 Nov 2019 16:36:51 +0400 Subject: [PATCH] =?UTF-8?q?Disable=20torus=20=F0=9F=98=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ConnectButton/index.jsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/ConnectButton/index.jsx b/src/components/ConnectButton/index.jsx index 7665536a..ca726dad 100644 --- a/src/components/ConnectButton/index.jsx +++ b/src/components/ConnectButton/index.jsx @@ -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, + // }, + // }, }, })