diff --git a/public/js/profileGen.js b/public/js/profileGen.js index f9cf82a..2033d29 100644 --- a/public/js/profileGen.js +++ b/public/js/profileGen.js @@ -31,7 +31,7 @@ function profileGen(username, container)
-
${user.name}
+ ${user.name ? `
${user.name}
` : ""} ${user.login} ${user.bio != null ? `

${user.bio}

` : ""}