From 1d645e5ff88989773f9779f029932d6afed04836 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Sun, 2 Oct 2022 08:52:53 -0700 Subject: [PATCH] trim copy on sort & bounty tooltips --- web/components/contract/bountied-contract-badge.tsx | 12 +++++++++--- web/components/contract/contract-tabs.tsx | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/web/components/contract/bountied-contract-badge.tsx b/web/components/contract/bountied-contract-badge.tsx index 72dc70e1..79589990 100644 --- a/web/components/contract/bountied-contract-badge.tsx +++ b/web/components/contract/bountied-contract-badge.tsx @@ -22,7 +22,10 @@ export function BountiedContractSmallBadge(props: { return ( @@ -33,8 +36,11 @@ export function BountiedContractSmallBadge(props: { ) } -export const CommentBountiesTooltipText = (openCommentBounties: number) => - `The creator of this market may award ${formatMoney( +export const CommentBountiesTooltipText = ( + creator: string, + openCommentBounties: number +) => + `${creator} may award ${formatMoney( COMMENT_BOUNTY_AMOUNT )} for good comments. ${formatMoney( openCommentBounties diff --git a/web/components/contract/contract-tabs.tsx b/web/components/contract/contract-tabs.tsx index a4287b5c..5a4efb94 100644 --- a/web/components/contract/contract-tabs.tsx +++ b/web/components/contract/contract-tabs.tsx @@ -159,7 +159,7 @@ const CommentsTabContent = memo(function CommentsTabContent(props: {