From 977251afc0d9937ecb13075831b70ddc7e3c2115 Mon Sep 17 00:00:00 2001 From: Yury Saukou Date: Thu, 19 Dec 2024 14:56:16 +0400 Subject: [PATCH] sonar warnings --- .../DelayClaimsModal/DelayClaimsModal.js | 2 ++ .../modals/SendClaimsModal/SendClaimsModal.js | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/claiming/components/modals/DelayClaimsModal/DelayClaimsModal.js b/lib/claiming/components/modals/DelayClaimsModal/DelayClaimsModal.js index 177ef738..e4b57206 100644 --- a/lib/claiming/components/modals/DelayClaimsModal/DelayClaimsModal.js +++ b/lib/claiming/components/modals/DelayClaimsModal/DelayClaimsModal.js @@ -27,6 +27,7 @@ const DelayClaimsModal = ({ }) => { const { reset } = useForm(); const intl = useIntl(); + const modalLabel = intl.formatMessage( { id: 'stripes-acq-components.claiming.modal.delayClaim.heading' }, { count: claimsCount }, @@ -45,6 +46,7 @@ const DelayClaimsModal = ({ ); + const end = ( ); - const end = ( + + const start = ( );