fix user render

loesung_frameworks
michael 2025-02-03 01:55:38 +01:00
parent a34db9ad2c
commit 1af22b6881
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ const View = {
renderUser(user) {
const main = document.getElementById('main');
main.innerHTML = `
<h1>${user.name}</h1>
<p>email: ${user.email}</p>
<h1>${user.user_name}</h1>
<p>email: ${user.user_email}</p>
`;
},