From 7b446d198219fcd6661d0747661347d3d5f8bcd8 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 16 Mar 2021 13:14:51 -0400 Subject: [PATCH] show correct amount on post staked amount --- ui/component/postViewer/view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/component/postViewer/view.jsx b/ui/component/postViewer/view.jsx index 22573a201..06175c592 100644 --- a/ui/component/postViewer/view.jsx +++ b/ui/component/postViewer/view.jsx @@ -6,7 +6,6 @@ import FileActions from 'component/fileActions'; import FileRenderInitiator from 'component/fileRenderInitiator'; import FileRenderInline from 'component/fileRenderInline'; import FileViewCount from 'component/fileViewCount'; -import { formatCredits } from 'lbry-redux'; import CreditAmount from 'component/common/credit-amount'; import DateTime from 'component/dateTime'; @@ -23,7 +22,6 @@ function PostViewer(props: Props) { } const amount = parseFloat(claim.amount) + parseFloat(claim.meta.support_amount); - const formattedAmount = formatCredits(amount, 2, true); return (
@@ -33,7 +31,7 @@ function PostViewer(props: Props) {
- +