diff --git a/electron-builder.yml b/electron-builder.yml
index bde2f549..317554a5 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -43,7 +43,23 @@ nsis:
files:
- dist/internals
- - "!node_modules/jsqr/test-data${/*}"
- - "!node_modules/ledger-test-library/deps/djinni${/*}"
- - "!node_modules/ledger-test-library/deps/gyp${/*}"
- - "!node_modules/raven-js/dist${/*}"
+ - "!node_modules/7zip-bin-linux"
+ - "!node_modules/7zip-bin-mac"
+ - "!node_modules/7zip-bin-win"
+ - "!node_modules/app-builder-bin-linux"
+ - "!node_modules/app-builder-bin-mac"
+ - "!node_modules/app-builder-bin-win"
+ - "!node_modules/app-builder-util"
+ - "!node_modules/builder-util"
+ - "!node_modules/dmg-builder"
+ - "!node_modules/electron-builder-lib"
+ - "!node_modules/electron-rebuild"
+ - "!node_modules/electron"
+ - "!node_modules/jsqr/test-data"
+ - "!node_modules/ledger-test-library/deps/djinni"
+ - "!node_modules/ledger-test-library/deps/gyp"
+ - "!node_modules/node-gyp"
+ - "!node_modules/opencollective"
+ - "!node_modules/raven-js/dist"
+ - "!node_modules/rxjs"
+ - "!node_modules/victory-pie"
diff --git a/package.json b/package.json
index 4a030d08..cc6da6b0 100644
--- a/package.json
+++ b/package.json
@@ -49,7 +49,7 @@
"@fortawesome/fontawesome-free-solid": "^5.0.7",
"@fortawesome/react-fontawesome": "^0.0.17",
"@ledgerhq/common": "^4.2.0",
- "@ledgerhq/currencies": "^4.3.0-beta.f8165b69",
+ "@ledgerhq/currencies": "^4.5.0",
"@ledgerhq/hw-app-btc": "^4.2.2",
"@ledgerhq/hw-app-eth": "^4.2.0",
"@ledgerhq/hw-transport": "^4.2.0",
@@ -107,7 +107,7 @@
"@storybook/react": "^3.3.14",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
- "babel-loader": "^7.1.3",
+ "babel-loader": "^7.1.4",
"babel-plugin-module-resolver": "^3.1.0",
"babel-plugin-styled-components": "^1.5.0",
"babel-preset-env": "^1.6.1",
@@ -121,7 +121,6 @@
"electron": "1.8.3",
"electron-builder": "^20.2.0",
"electron-devtools-installer": "^2.2.3",
- "electron-rebuild": "^1.7.3",
"electron-webpack": "1.13.0",
"eslint": "^4.18.1",
"eslint-config-airbnb": "^16.1.0",
diff --git a/src/components/BalanceSummary/index.js b/src/components/BalanceSummary/index.js
index b979b497..236d5084 100644
--- a/src/components/BalanceSummary/index.js
+++ b/src/components/BalanceSummary/index.js
@@ -3,7 +3,7 @@
import React, { Fragment } from 'react'
import moment from 'moment'
-import { formatShort, formatCurrencyUnit, getFiatUnit } from '@ledgerhq/currencies'
+import { formatShort, getFiatUnit } from '@ledgerhq/currencies'
import type { Accounts } from 'types/common'
@@ -12,6 +12,7 @@ import { space } from 'styles/theme'
import { AreaChart } from 'components/base/Chart'
import Box, { Card } from 'components/base/Box'
import CalculateBalance from 'components/CalculateBalance'
+import FormattedVal from 'components/base/FormattedVal'
function getTickCountX(selectedTime) {
switch (selectedTime) {
@@ -88,11 +89,16 @@ const BalanceSummary = ({
right: space[6],
}}
strokeWidth={2}
- renderLabels={d =>
- formatCurrencyUnit(unit, d.y * 100, {
- showCode: true,
- })
- }
+ renderLabels={d => d.y}
+ renderTooltip={d => (
+
+ )}
renderTickX={renderTickX(selectedTime)}
renderTickY={t => formatShort(unit, t)}
tickCountX={getTickCountX(selectedTime)}
diff --git a/src/components/DevTools.js b/src/components/DevTools.js
index 1ca4312d..94ab46b2 100644
--- a/src/components/DevTools.js
+++ b/src/components/DevTools.js
@@ -5,7 +5,7 @@
import React, { PureComponent } from 'react'
import { remote, ipcRenderer } from 'electron'
import { translate } from 'react-i18next'
-import { VictoryArea } from 'victory'
+import VictoryArea from 'victory-chart/lib/components/victory-area/victory-area'
import styled from 'styled-components'
import color from 'color'
import fs from 'fs'
diff --git a/src/components/base/Chart/index.js b/src/components/base/Chart/index.js
index d3324d5c..c5a5f3ae 100644
--- a/src/components/base/Chart/index.js
+++ b/src/components/base/Chart/index.js
@@ -3,17 +3,17 @@
/* eslint-disable react/no-multi-comp */
import React, { Fragment, Component, PureComponent } from 'react'
-import {
- VictoryChart,
- VictoryArea,
- VictoryAxis,
- VictoryTooltip,
- VictoryVoronoiContainer,
-} from 'victory'
+
+import VictoryChart from 'victory-chart/lib/components/victory-chart/victory-chart'
+import VictoryArea from 'victory-chart/lib/components/victory-area/victory-area'
+import VictoryAxis from 'victory-chart/lib/components/victory-axis/victory-axis'
+import VictoryTooltip from 'victory-core/lib/victory-tooltip/victory-tooltip'
+import VictoryVoronoiContainer from 'victory-chart/lib/components/containers/victory-voronoi-container'
import { space, colors, fontSizes } from 'styles/theme'
import Box from 'components/base/Box'
+import Text from 'components/base/Text'
import { TooltipContainer } from 'components/base/Tooltip'
const ANIMATION_DURATION = 600
@@ -122,7 +122,7 @@ class CustomTooltip extends Component