File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import coinbase from "./wallets/coinbase"
5
5
import trust from "./wallets/trust"
6
6
import portis from "./wallets/portis"
7
7
import fortmatic from "./wallets/fortmatic"
8
- import { networkName } from "../../utilities"
9
8
10
9
function defaults ( {
11
10
heading,
@@ -17,16 +16,15 @@ function defaults({
17
16
} ) {
18
17
const desktopModules = [ metamask ( ) , dapper ( ) ]
19
18
const mobileModules = [ coinbase ( ) , trust ( ) ]
20
- const network = networkName ( networkId )
21
19
22
20
if ( portisInit ) {
23
- desktopModules . push ( portis ( { ...portisInit , network } ) )
24
- mobileModules . push ( portis ( { ...portisInit , network } ) )
21
+ desktopModules . push ( portis ( { ...portisInit , networkId } ) )
22
+ mobileModules . push ( portis ( { ...portisInit , networkId } ) )
25
23
}
26
24
27
25
if ( fortmaticInit ) {
28
- desktopModules . push ( fortmatic ( { ...fortmaticInit , network } ) )
29
- mobileModules . push ( fortmatic ( { ...fortmaticInit , network } ) )
26
+ desktopModules . push ( fortmatic ( { ...fortmaticInit , networkId } ) )
27
+ mobileModules . push ( fortmatic ( { ...fortmaticInit , networkId } ) )
30
28
}
31
29
32
30
if ( walletConnectInit ) {
You can’t perform that action at this time.
0 commit comments