Alex Cheung 1 year ago
parent
commit
78cbb06e73
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) => { const getAddressStr = (strs) => {
let add = "" let add = ""
strs.forEach(str => { strs.forEach(str => {
add += str ? str + ", " : "";
add += str.trim() ? str.trim() + ", " : "";
}); });
add = add.trim(); add = add.trim();
if (add.slice(- 1) == ",") { if (add.slice(- 1) == ",") {


Loading…
Cancel
Save