From 3cbe8ad8bba063e5fa442f8d2ab79b0297c35759 Mon Sep 17 00:00:00 2001 From: ingawei <46611122+ingawei@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:34:07 -0500 Subject: [PATCH] Inga/comment bounty fix (#1041) * fixed bounty button in comments --- web/components/award-bounty-button.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/web/components/award-bounty-button.tsx b/web/components/award-bounty-button.tsx index 7a69cf15..778c7e00 100644 --- a/web/components/award-bounty-button.tsx +++ b/web/components/award-bounty-button.tsx @@ -5,7 +5,6 @@ import { awardCommentBounty } from 'web/lib/firebase/api' import { track } from 'web/lib/service/analytics' import { Row } from './layout/row' import { Contract } from 'common/contract' -import { TextButton } from 'web/components/text-button' import { COMMENT_BOUNTY_AMOUNT } from 'common/economy' import { formatMoney } from 'common/util/format' @@ -37,10 +36,17 @@ export function AwardBountyButton(prop: { const canUp = me && me.id !== comment.userId && contract.creatorId === me.id if (!canUp) return
return ( - - + + ) }