Introduce redux for one of the state stores (#742)
* Introduce redux for one of the state stores * Remove unused state * Clean up hooks * Add types for react-redux and fix error from any type on useSelector * Strongly type the web3 provider * Make the popup content into a POJO * Lint errors * Clean up method call * Fix lint error * Fix lint error * Lint
Showing
... | ... | @@ -15,6 +15,7 @@ |
"@material-ui/core": "^4.9.5", | ||
"@reach/dialog": "^0.2.8", | ||
"@reach/tooltip": "^0.2.0", | ||
"@reduxjs/toolkit": "^1.3.5", | ||
"@uniswap/sdk": "^2.0.3", | ||
"@uniswap/v2-core": "1.0.0", | ||
"@uniswap/v2-periphery": "1.0.0-beta.0", | ||
... | ... | @@ -41,6 +42,7 @@ |
"react-feather": "^2.0.8", | ||
"react-ga": "^2.5.7", | ||
"react-i18next": "^10.7.0", | ||
"react-redux": "^7.2.0", | ||
"react-router-dom": "^5.0.0", | ||
"react-scripts": "^3.4.1", | ||
"react-spring": "^8.0.27", | ||
... | ... | @@ -55,6 +57,7 @@ |
"@types/node": "^13.13.5", | ||
"@types/react": "^16.9.34", | ||
"@types/react-dom": "^16.9.7", | ||
"@types/react-redux": "^7.1.8", | ||
"@types/react-router-dom": "^5.0.0", | ||
"@types/rebass": "^4.0.5", | ||
"@types/styled-components": "^4.2.0", | ||
... | ... |
src/state/index.ts
0 → 100644
Please register or sign in to comment