diff --git a/.babelrc b/.babelrc
index 730f18c9..e6b4c23b 100644
--- a/.babelrc
+++ b/.babelrc
@@ -15,5 +15,5 @@
"react",
"stage-0"
],
- "plugins": [["module-resolver", { "root": ["src"] }], "recharts", "styled-components"]
+ "plugins": [["module-resolver", { "root": ["src"] }], "styled-components"]
}
diff --git a/electron-builder.yml b/electron-builder.yml
index 70b1b19f..55bd7f54 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -44,4 +44,3 @@ nsis:
files:
- dist/internals
- "!node_modules/jsqr/test-data${/*}"
- - "!node_modules/recharts/node_modules${/*}"
diff --git a/package.json b/package.json
index e2209509..302073b0 100644
--- a/package.json
+++ b/package.json
@@ -42,14 +42,14 @@
"webpack-sources": "1.0.1"
},
"dependencies": {
- "@fortawesome/fontawesome": "^1.1.3",
- "@fortawesome/fontawesome-free-brands": "^5.0.6",
- "@fortawesome/fontawesome-free-regular": "^5.0.6",
- "@fortawesome/fontawesome-free-solid": "^5.0.6",
+ "@fortawesome/fontawesome": "^1.1.4",
+ "@fortawesome/fontawesome-free-brands": "^5.0.7",
+ "@fortawesome/fontawesome-free-regular": "^5.0.7",
+ "@fortawesome/fontawesome-free-solid": "^5.0.7",
"@fortawesome/react-fontawesome": "^0.0.17",
"@ledgerhq/common": "^4.2.0",
- "@ledgerhq/currencies": "^4.2.0",
- "@ledgerhq/hw-app-btc": "^4.2.1",
+ "@ledgerhq/currencies": "^4.2.2",
+ "@ledgerhq/hw-app-btc": "^4.2.2",
"@ledgerhq/hw-app-eth": "^4.2.0",
"@ledgerhq/hw-transport": "^4.2.0",
"@ledgerhq/hw-transport-node-hid": "^4.2.0",
@@ -61,12 +61,12 @@
"color": "^3.0.0",
"cross-env": "^5.1.3",
"debug": "^3.1.0",
- "downshift": "^1.28.0",
+ "downshift": "^1.28.1",
"electron-store": "^1.3.0",
"electron-updater": "^2.20.1",
"fuse.js": "^3.2.0",
"history": "^4.7.2",
- "i18next": "^10.4.1",
+ "i18next": "^10.5.0",
"i18next-node-fs-backend": "^1.0.0",
"ledger-test-library": "KhalilBellakrid/ledger-test-library",
"lodash": "^4.17.5",
@@ -87,7 +87,6 @@
"react-router-dom": "^4.2.2",
"react-router-redux": "5.0.0-alpha.9",
"react-smooth-scrollbar": "^8.0.6",
- "recharts": "^1.0.0-beta.10",
"redux": "^3.7.2",
"redux-actions": "^2.2.1",
"redux-thunk": "^2.2.0",
@@ -95,7 +94,8 @@
"source-map-support": "^0.5.3",
"styled-components": "^3.1.6",
"styled-system": "^2.1.0",
- "tippy.js": "^2.2.3"
+ "tippy.js": "^2.2.3",
+ "victory": "^0.25.6"
},
"devDependencies": {
"@storybook/addon-actions": "^3.3.14",
@@ -106,9 +106,8 @@
"@storybook/react": "^3.3.14",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
- "babel-loader": "^7.1.2",
+ "babel-loader": "^7.1.3",
"babel-plugin-module-resolver": "^3.1.0",
- "babel-plugin-recharts": "^1.1.1",
"babel-plugin-styled-components": "^1.5.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
@@ -117,9 +116,9 @@
"chalk": "^2.3.1",
"chance": "^1.0.13",
"concurrently": "^3.5.1",
- "dotenv": "^5.0.0",
+ "dotenv": "^5.0.1",
"electron": "1.8.2",
- "electron-builder": "^20.0.8",
+ "electron-builder": "^20.2.0",
"electron-devtools-installer": "^2.2.3",
"electron-webpack": "1.13.0",
"eslint": "^4.18.1",
@@ -132,12 +131,12 @@
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.66.0",
"flow-typed": "^2.3.0",
- "hard-source-webpack-plugin": "^0.5.18",
+ "hard-source-webpack-plugin": "^0.6.0",
"husky": "^0.14.3",
"js-yaml": "^3.10.0",
"lint-staged": "^7.0.0",
"node-loader": "^0.6.0",
- "prettier": "^1.10.2",
+ "prettier": "^1.11.0",
"react-hot-loader": "^4.0.0-beta.21",
"webpack": "^3.11.0"
}
diff --git a/src/components/DashboardPage/AccountCard.js b/src/components/DashboardPage/AccountCard.js
index 1a67861f..ede20d9b 100644
--- a/src/components/DashboardPage/AccountCard.js
+++ b/src/components/DashboardPage/AccountCard.js
@@ -5,7 +5,7 @@ import { getIconByCoinType } from '@ledgerhq/currencies/react'
import type { Account } from 'types/common'
-import { AreaChart } from 'components/base/Chart'
+import { SimpleAreaChart } from 'components/base/Chart'
import Bar from 'components/base/Bar'
import Box, { Card } from 'components/base/Box'
import FormattedVal from 'components/base/FormattedVal'
@@ -20,6 +20,7 @@ const AccountCard = ({
onClick: Function,
}) => {
const Icon = getIconByCoinType(account.currency.coinType)
+
return (
@@ -45,14 +46,13 @@ const AccountCard = ({
val={account.balance}
/>
-
)
diff --git a/src/components/DashboardPage/index.js b/src/components/DashboardPage/index.js
index e016f295..ccfafc5b 100644
--- a/src/components/DashboardPage/index.js
+++ b/src/components/DashboardPage/index.js
@@ -51,7 +51,7 @@ type Props = {
type State = {
accountsChunk: Array,
allTransactions: Array