Browse Source

fix iAmSmart address concat bug

master
Anna Ho 1 year ago
parent
commit
3e80ee814f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

+ 1
- 1
src/pages/authentication/auth-forms/IAmSmartFormWizard.js View File

@@ -142,7 +142,7 @@ const CustomFormWizard = (props) => {
const getAddressStr = (strs) => {
let add = ""
strs.forEach(str => {
add += str ? str + ", " : "";
add += str.trim() ? str.trim() + ", " : "";
});
add = add.trim();
if (add.slice(- 1) == ",") {


Loading…
Cancel
Save