diff --git a/web/components/contract/bountied-contract-badge.tsx b/web/components/contract/bountied-contract-badge.tsx index 4b19df4c..fd738895 100644 --- a/web/components/contract/bountied-contract-badge.tsx +++ b/web/components/contract/bountied-contract-badge.tsx @@ -12,15 +12,19 @@ export function BountiedContractBadge() { ) } -export function BountiedContractSmallBadge(props: { contract: Contract, showAmount?: boolean }) { +export function BountiedContractSmallBadge(props: { + contract: Contract + showAmount?: boolean +}) { const { contract, showAmount } = props const { openCommentBounties } = contract if (!openCommentBounties) return
return ( - - {showAmount && formatMoney(openCommentBounties)} Bounty + + + {showAmount && formatMoney(openCommentBounties)} Bounty ) diff --git a/web/components/contract/contract-tabs.tsx b/web/components/contract/contract-tabs.tsx index 6bea13ed..a4287b5c 100644 --- a/web/components/contract/contract-tabs.tsx +++ b/web/components/contract/contract-tabs.tsx @@ -29,9 +29,7 @@ import { Button } from 'web/components/button' import { MINUTE_MS } from 'common/util/time' import { useUser } from 'web/hooks/use-user' import { Tooltip } from 'web/components/tooltip' -import { - BountiedContractSmallBadge, -} from 'web/components/contract/bountied-contract-badge' +import { BountiedContractSmallBadge } from 'web/components/contract/bountied-contract-badge' import { Row } from '../layout/row' export function ContractTabs(props: {