Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/bounties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { formatCurrency } from "@/lib/utils";

/**
* Human label for a bounty payout, matching the gig card style:
* "$2.00 USD (paid in SOL)" when a coin is set, otherwise "$2.00 USD".
* "Pays $2.00 USD in SOL" when a coin is set, otherwise "$2.00 USD".
* Centralized so browse/detail/dashboard stay consistent.
*/
export function formatBountyPayout(
Expand All @@ -12,7 +12,7 @@ export function formatBountyPayout(
): string {
const amount = Number(amountUsd);
const usd = `${formatCurrency(amount)} USD`;
return paymentCoin ? `${usd} (paid in ${paymentCoin})` : usd;
return paymentCoin ? `Pays ${usd} in ${paymentCoin}` : usd;
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Outdated
}

export const questionSchema = z.object({
Expand Down
Loading