We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 381e31b commit 12c95dbCopy full SHA for 12c95db
components/brave_rewards/resources/extension/brave_rewards/components/panel.tsx
@@ -367,8 +367,8 @@ export class Panel extends React.Component<Props, State> {
367
368
if (result === '0') {
369
const currency = onlyAnonWallet ? getMessage('bap') : getMessage('bat')
370
- const fixed = utils.convertProbiToFixed(notification.args[3])
371
- text = getMessage('contributeNotificationSuccess', [fixed, currency])
+ const contributionAmount = parseFloat(notification.args[3]).toFixed(1)
+ text = getMessage('contributeNotificationSuccess', [contributionAmount, currency])
372
} else if (result === '15') {
373
text = getMessage('contributeNotificationNotEnoughFunds')
374
isAlert = 'warning'
0 commit comments