From 4683576e0840e149cb22ed6744c70c1684ce8408 Mon Sep 17 00:00:00 2001 From: im-adithya Date: Tue, 17 Dec 2024 18:14:05 +0530 Subject: [PATCH] chore: change content check --- pages/Transaction.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/Transaction.tsx b/pages/Transaction.tsx index 991cc8f..2106467 100644 --- a/pages/Transaction.tsx +++ b/pages/Transaction.tsx @@ -205,8 +205,7 @@ function TransactionDetailRow(props: { function PodcastingInfo({ boost }: { boost: Boostagram }) { const renderDetail = (title: string, content: any) => { - // we want to check if content is not undefined, null or empty string - if (content != null && content !== "") { + if (content === 0 || !!content) { return ; } return null;