From cfa418bee316d99d037f7c5fe4cbd097bafafb45 Mon Sep 17 00:00:00 2001 From: pskfyi Date: Thu, 13 Jan 2022 19:29:46 -0800 Subject: [PATCH] chore: reduce decimal places by 1 --- store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/index.js b/store/index.js index 228f913..4b8e0c7 100644 --- a/store/index.js +++ b/store/index.js @@ -567,7 +567,7 @@ export const getters = { 0 ), suffixedDecimalText: (state) => (n) => { - const DIGITS_AFTER_DP = 3 + const DIGITS_AFTER_DP = 2 const suffixValues = { Z: 0, k: 1e3, M: 1e6, B: 1e9, T: 1e12, X: 1e15 } n = new Decimal(n)