Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-babylonlabs committed Sep 10, 2024
1 parent c337eee commit 9654360
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/components/Points/StakerPoints.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -32,7 +30,7 @@ export const StakerPoints: React.FC<StakerPointsProps> = ({
return (
<div className="flex items-center justify-end gap-1">
<p className="whitespace-nowrap font-semibold">
{points !== undefined ? maxDecimals(satoshiToBtc(points), 8) : 0}
{points !== undefined ? points : 0}
</p>
</div>
);
Expand Down

0 comments on commit 9654360

Please sign in to comment.