mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-12 02:54:09 +00:00
Remove dappId from OnboardJS connection (#1627)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
This commit is contained in:
parent
fc1250d528
commit
e3a8b9fe2a
@ -8,7 +8,6 @@ import { fetchProvider, removeProvider } from 'src/logic/wallets/store/actions'
|
|||||||
import transactionDataCheck from 'src/logic/wallets/transactionDataCheck'
|
import transactionDataCheck from 'src/logic/wallets/transactionDataCheck'
|
||||||
import { getSupportedWallets } from 'src/logic/wallets/utils/walletList'
|
import { getSupportedWallets } from 'src/logic/wallets/utils/walletList'
|
||||||
import { store } from 'src/store'
|
import { store } from 'src/store'
|
||||||
import { BLOCKNATIVE_KEY } from 'src/utils/constants'
|
|
||||||
|
|
||||||
const networkId = getNetworkId()
|
const networkId = getNetworkId()
|
||||||
|
|
||||||
@ -18,7 +17,6 @@ let providerName
|
|||||||
const wallets = getSupportedWallets()
|
const wallets = getSupportedWallets()
|
||||||
|
|
||||||
export const onboard = Onboard({
|
export const onboard = Onboard({
|
||||||
dappId: BLOCKNATIVE_KEY,
|
|
||||||
networkId: networkId,
|
networkId: networkId,
|
||||||
subscriptions: {
|
subscriptions: {
|
||||||
wallet: (wallet) => {
|
wallet: (wallet) => {
|
||||||
|
@ -42,8 +42,6 @@ const mainnet: NetworkConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
disabledWallets: [
|
disabledWallets: [
|
||||||
WALLETS.TREZOR,
|
|
||||||
WALLETS.LEDGER,
|
|
||||||
WALLETS.COINBASE,
|
WALLETS.COINBASE,
|
||||||
WALLETS.DAPPER,
|
WALLETS.DAPPER,
|
||||||
WALLETS.FORTMATIC,
|
WALLETS.FORTMATIC,
|
||||||
@ -53,7 +51,6 @@ const mainnet: NetworkConfig = {
|
|||||||
WALLETS.TORUS,
|
WALLETS.TORUS,
|
||||||
WALLETS.TRUST,
|
WALLETS.TRUST,
|
||||||
WALLETS.UNILOGIN,
|
WALLETS.UNILOGIN,
|
||||||
WALLETS.WALLET_CONNECT,
|
|
||||||
WALLETS.WALLET_LINK,
|
WALLETS.WALLET_LINK,
|
||||||
WALLETS.AUTHEREUM,
|
WALLETS.AUTHEREUM,
|
||||||
WALLETS.LATTICE,
|
WALLETS.LATTICE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user