Show "(max)" on streak payout if it is the max payout

This commit is contained in:
James Grugett 2022-08-26 11:38:08 -05:00
parent b1ccee73fd
commit 31db330319

View File

@ -400,7 +400,8 @@ function IncomeNotificationItem(props: {
} else if (sourceType === 'tip') {
reasonText = !simple ? `tipped you on` : `in tips on`
} else if (sourceType === 'betting_streak_bonus') {
reasonText = 'for your'
if (sourceText && +sourceText === 50) reasonText = '(max) for your'
else reasonText = 'for your'
} else if (sourceType === 'loan' && sourceText) {
reasonText = `of your invested bets returned as a`
}