From 08ee1e4c8036e4f2a6dc6b95171f9aa6140afb34 Mon Sep 17 00:00:00 2001 From: stringhandler Date: Wed, 18 Sep 2024 16:19:45 +0200 Subject: [PATCH] chore: fix lint --- .../SideBar/components/Settings/Markups/P2poolStatsMarkup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/SideBar/components/Settings/Markups/P2poolStatsMarkup.tsx b/src/containers/SideBar/components/Settings/Markups/P2poolStatsMarkup.tsx index 6326a8640..d78cae2ea 100644 --- a/src/containers/SideBar/components/Settings/Markups/P2poolStatsMarkup.tsx +++ b/src/containers/SideBar/components/Settings/Markups/P2poolStatsMarkup.tsx @@ -76,11 +76,11 @@ const P2PoolStats = () => { labels={[ { labelText: 'SHA-3', - labelValue: (p2poolSha3HashRate ? p2poolSha3HashRate / 1_000_000.0 : 0) + ' MH/s', + labelValue: (p2poolSha3HashRate ? p2poolSha3HashRate / BigInt(1_000_000) : 0) + ' MH/s', }, { labelText: 'RandomX', - labelValue: (p2poolRandomxHashRate ? p2poolRandomxHashRate / 1_000_000.0 : 0) + ' kH/s', + labelValue: (p2poolRandomxHashRate ? p2poolRandomxHashRate / BigInt(1_000_000) : 0) + ' kH/s', }, ]} />