Skip to content

Commit e0195e4

Browse files
authored
Trims whitespace on identities in multisig step (#284)
1 parent 2cc5ff6 commit e0195e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

renderer/components/SendMultisigLedgerAssetsFlow/Steps/CollectIdentities.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ export function CollectIdentities({
6969
height="60px"
7070
px={8}
7171
onClick={() => {
72-
onSubmit([myIdentity, ...otherIdentities]);
72+
// Trim whitespace from all identities
73+
const allIdentities = [myIdentity, ...otherIdentities].map(
74+
(identity) => identity.trim(),
75+
);
76+
onSubmit(allIdentities);
7377
}}
7478
>
7579
Next

0 commit comments

Comments
 (0)