From d3cab282de15267295475c56334b45eb15284da8 Mon Sep 17 00:00:00 2001 From: Anzhelo Dimitrov <32179794+AnzheloD@users.noreply.github.com> Date: Sun, 20 Nov 2022 22:15:21 +0200 Subject: [PATCH] 1109 (#1141) Added iban trimmed value on click copy button --- src/components/common/BankTransfer.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/common/BankTransfer.tsx b/src/components/common/BankTransfer.tsx index ed3af1eff..101b50b9f 100644 --- a/src/components/common/BankTransfer.tsx +++ b/src/components/common/BankTransfer.tsx @@ -20,6 +20,8 @@ const StyledGrid = styled(Grid)(() => ({ export const BankTransfer = () => { const { t } = useTranslation() + const trimmedIban = ibanNumber.replace(/\s/g, '') + return ( @@ -41,7 +43,7 @@ export const BankTransfer = () => { - +