Skip to content

Commit

Permalink
fix: donut amount screen reader issue (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikacolette29 committed Dec 7, 2022
1 parent c2a4dc9 commit 7f281be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modal/v2/parts/views/ShortTerm/Content.jsx
Expand Up @@ -43,7 +43,7 @@ export const ShortTerm = ({
? estimatedInstallments.items
.map(timestamp => `${timestamp.total_payment} for ${timestamp.payment_date}`)
.join(', ')
: donutTimestamps.map(timestamp => `${currencyFormat(periodicPayment)} for ${timestamp}`);
: donutTimestamps.map(timestamp => `${currencyFormat(periodicPayment)} for ${timestamp}`).join(', ');

// regex replaces EUR with the euro symbol €
const localeFormattedPayment = periodicPayment.replace(/(\s?EUR)/g, ' €');
Expand Down

0 comments on commit 7f281be

Please sign in to comment.