Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/hooks/useWallet.js
Show First 20 Lines • Show All 728 Lines • ▼ Show 20 Lines | const useWallet = () => { | ||||
) { | ) { | ||||
notification.success({ | notification.success({ | ||||
message: 'Transaction received', | message: 'Transaction received', | ||||
description: ( | description: ( | ||||
<Paragraph> | <Paragraph> | ||||
You received{' '} | You received{' '} | ||||
{Number( | {Number( | ||||
balances.totalBalance - previousBalances.totalBalance, | balances.totalBalance - previousBalances.totalBalance, | ||||
).toFixed(8)}{' '} | ).toFixed(currency.cashDecimals)}{' '} | ||||
BCH! | BCH! | ||||
</Paragraph> | </Paragraph> | ||||
), | ), | ||||
duration: 3, | duration: 3, | ||||
}); | }); | ||||
} | } | ||||
// Parse for incoming SLP transactions | // Parse for incoming SLP transactions | ||||
▲ Show 20 Lines • Show All 491 Lines • Show Last 20 Lines |