Merge pull request #867 from SiIky/chore/CWZdJZga/compliance_triggers_text

chore: compliance triggers text inconsistencies
This commit is contained in:
Rafael Taranto 2021-11-11 18:26:12 +00:00 committed by GitHub
commit efd18defe7

View file

@ -104,8 +104,8 @@ const getTypeText = (config, currency, classes) => {
case 'txVolume': case 'txVolume':
return ( return (
<> <>
makes {orUnderline(config.threshold.threshold, classes)} {currency}{' '} makes more than {orUnderline(config.threshold.threshold, classes)}{' '}
worth of transactions within{' '} {currency} worth of transactions within{' '}
{orUnderline(config.threshold.thresholdDays, classes)}{' '} {orUnderline(config.threshold.thresholdDays, classes)}{' '}
{singularOrPlural(config.threshold.thresholdDays, 'day', 'days')} {singularOrPlural(config.threshold.thresholdDays, 'day', 'days')}
</> </>
@ -113,7 +113,7 @@ const getTypeText = (config, currency, classes) => {
case 'txVelocity': case 'txVelocity':
return ( return (
<> <>
makes {orUnderline(config.threshold.threshold, classes)}{' '} makes more than {orUnderline(config.threshold.threshold, classes)}{' '}
{singularOrPlural( {singularOrPlural(
config.threshold.threshold, config.threshold.threshold,
'transaction', 'transaction',