From 9654360c3263c09502495ea2c7ff3ed5f97fe6fd Mon Sep 17 00:00:00 2001 From: jeremy-babylonchain Date: Tue, 10 Sep 2024 19:08:02 +0800 Subject: [PATCH] hotfix --- src/app/components/Points/StakerPoints.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/components/Points/StakerPoints.tsx b/src/app/components/Points/StakerPoints.tsx index 7ccae028..808e3ac2 100644 --- a/src/app/components/Points/StakerPoints.tsx +++ b/src/app/components/Points/StakerPoints.tsx @@ -2,8 +2,6 @@ import { useQuery } from "@tanstack/react-query"; import React from "react"; import { getStakersPoints } from "@/app/api/getStakersPoints"; -import { satoshiToBtc } from "@/utils/btcConversions"; -import { maxDecimals } from "@/utils/maxDecimals"; interface StakerPointsProps { publicKeyNoCoord: string; @@ -32,7 +30,7 @@ export const StakerPoints: React.FC = ({ return (

- {points !== undefined ? maxDecimals(satoshiToBtc(points), 8) : 0} + {points !== undefined ? points : 0}

);