File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1043,6 +1043,10 @@ Vue.component('grants-cart', {
1043
1043
await onConnect ( ) ;
1044
1044
}
1045
1045
1046
+ if ( this . nativeCurrency == 'MATIC' ) {
1047
+ this . networkId = this . networkId == '80001' ? '4' : '1' ;
1048
+ }
1049
+
1046
1050
let networkName = getDataChains ( this . networkId , 'chainId' ) [ 0 ] && getDataChains ( this . networkId , 'chainId' ) [ 0 ] . network ;
1047
1051
1048
1052
// User's wallet must be connected to Ethereum mainnet or rinkeby
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if (document.getElementById('grants-showcase')) {
7
7
activePage : document . activePage ,
8
8
state : 'active' ,
9
9
mainBanner : document . current_style ,
10
- visibleModal : false ,
10
+ visibleModal : false
11
11
} ,
12
12
computed : {
13
13
isLandingPage ( ) {
@@ -18,7 +18,7 @@ if (document.getElementById('grants-showcase')) {
18
18
} ,
19
19
hideModal ( ) {
20
20
this . visibleModal = 'none' ;
21
- } ,
21
+ }
22
22
}
23
23
} ) ;
24
24
}
You can’t perform that action at this time.
0 commit comments