Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 8 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | import Web3 from 'web3'; |
||
2 | let web3; |
||
3 | try { |
||
4 | web3 = new Web3(window.web3.currentProvider); |
||
5 | } catch (error) { |
||
6 | console.log(error); |
||
|
|||
7 | } |
||
8 | export default web3; |
||
9 |