From eb03551d9bd864dd62f87f48c9d847d439027ac5 Mon Sep 17 00:00:00 2001 From: anonymoussprocket Date: Mon, 4 Apr 2022 09:49:56 -0400 Subject: [PATCH] - bignumber config for exp notation --- src/containers/Home/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/containers/Home/index.tsx b/src/containers/Home/index.tsx index 0b72067d..faff69ab 100644 --- a/src/containers/Home/index.tsx +++ b/src/containers/Home/index.tsx @@ -3,6 +3,7 @@ import { useDispatch, useSelector, shallowEqual } from 'react-redux'; import { Switch, Route, Redirect } from 'react-router'; import { useTranslation } from 'react-i18next'; import Transport from '@ledgerhq/hw-transport-node-hid'; +import { BigNumber } from 'bignumber.js'; import { goHomeAndClearState } from '../../reduxContent/wallet/thunks'; import { getIsIdentitesSelector } from '../../reduxContent/wallet/selectors'; @@ -46,6 +47,8 @@ function HomePage() { const redirectTo = isIdentities ? '/home/main' : '/home/add'; + BigNumber.config({ EXPONENTIAL_AT: 54 }); + return ( {nodesErrorMessage && }