"bettors" => "traders"

This commit is contained in:
mantikoros 2022-07-22 12:03:33 -05:00
parent c3a0326b1e
commit 163c990e9d
4 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ export function ContractLeaderboard(props: {
return users && users.length > 0 ? ( return users && users.length > 0 ? (
<Leaderboard <Leaderboard
title="🏅 Top bettors" title="🏅 Top traders"
users={users || []} users={users || []}
columns={[ columns={[
{ {

View File

@ -492,7 +492,7 @@ function GroupLeaderboards(props: {
<SortedLeaderboard <SortedLeaderboard
users={members} users={members}
scoreFunction={(user) => traderScores[user.id] ?? 0} scoreFunction={(user) => traderScores[user.id] ?? 0}
title="🏅 Top bettors" title="🏅 Top traders"
header="Profit" header="Profit"
maxToShow={maxToShow} maxToShow={maxToShow}
/> />
@ -508,7 +508,7 @@ function GroupLeaderboards(props: {
<> <>
<Leaderboard <Leaderboard
className="max-w-xl" className="max-w-xl"
title="🏅 Top bettors" title="🏅 Top traders"
users={topTraders} users={topTraders}
columns={[ columns={[
{ {

View File

@ -79,7 +79,7 @@ export default function Leaderboards(_props: {
<> <>
<Col className="mx-4 items-center gap-10 lg:flex-row"> <Col className="mx-4 items-center gap-10 lg:flex-row">
<Leaderboard <Leaderboard
title="🏅 Top bettors" title="🏅 Top traders"
users={topTraders} users={topTraders}
columns={[ columns={[
{ {

View File

@ -391,7 +391,7 @@ function IncomeNotificationItem(props: {
reasonText = !simple reasonText = !simple
? `Bonus for ${ ? `Bonus for ${
parseInt(sourceText) / UNIQUE_BETTOR_BONUS_AMOUNT parseInt(sourceText) / UNIQUE_BETTOR_BONUS_AMOUNT
} unique bettors` } unique traders`
: 'bonus on' : 'bonus on'
} else if (sourceType === 'tip') { } else if (sourceType === 'tip') {
reasonText = !simple ? `tipped you` : `in tips on` reasonText = !simple ? `tipped you` : `in tips on`