web3-react migration (#269)
* put suspense below redux * don't mount qr * properly format .json's * remove useless Web3Connect component * remove react-responsive header logic * finalize initial web3-react migration * add rudimentary network support * address ci/cd issues * fix syntax * add infura support rewrite create-exchange closes #173 * remove CI flag, lazy loaded disabled for now * roll back /pool * fix currency input errors fix valid state of buttons * fix nav * obscure env variables * fix mobile header bug
Showing
.env.example
0 → 100644
| ... | @@ -20,7 +20,6 @@ | ... | @@ -20,7 +20,6 @@ |
| "react-ga": "^2.5.7", | "react-ga": "^2.5.7", | ||
| "react-i18next": "^10.7.0", | "react-i18next": "^10.7.0", | ||
| "react-redux": "^5.0.7", | "react-redux": "^5.0.7", | ||
| "react-responsive": "^5.0.0", | |||
| "react-router-dom": "^5.0.0", | "react-router-dom": "^5.0.0", | ||
| "react-scripts": "^2.1.8", | "react-scripts": "^2.1.8", | ||
| "react-transition-group": "1.x", | "react-transition-group": "1.x", | ||
| ... | @@ -29,13 +28,13 @@ | ... | @@ -29,13 +28,13 @@ |
| "redux-thunk": "^2.2.0", | "redux-thunk": "^2.2.0", | ||
| "ua-parser-js": "^0.7.18", | "ua-parser-js": "^0.7.18", | ||
| "web3": "1.0.0-beta.52", | "web3": "1.0.0-beta.52", | ||
| "web3-react": "^4.0.0" | "web3-react": "^5.0.4" | ||
| }, | }, | ||
| "scripts": { | "scripts": { | ||
| "start": "react-scripts start", | "start": "react-scripts start", | ||
| "start:rinkeby": "REACT_APP_NETWORK_ID=4 REACT_APP_NETWORK='Rinkeby Test Network' yarn start", | |||
| "build": "react-scripts build", | "build": "react-scripts build", | ||
| "build:rinkeby": "REACT_APP_NETWORK_ID=4 REACT_APP_NETWORK='Rinkeby Test Network' yarn build", | "start:rinkeby": "REACT_APP_NETWORK_ID=4 REACT_APP_NETWORK_NAME='Rinkeby Test Network' yarn start", | ||
| "build:rinkeby": "REACT_APP_NETWORK_ID=4 REACT_APP_NETWORK_NAME='Rinkeby Test Network' yarn build", | |||
| "test": "react-scripts test --env=jsdom", | "test": "react-scripts test --env=jsdom", | ||
| "eject": "react-scripts eject", | "eject": "react-scripts eject", | ||
| "lint:base": "yarn eslint './src/**/*.{js,jsx}'", | "lint:base": "yarn eslint './src/**/*.{js,jsx}'", | ||
| ... | ... |
src/hooks/index.js
0 → 100644
src/utils/index.js
0 → 100644
Please register or sign in to comment