We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb896e5 commit e0d3c4fCopy full SHA for e0d3c4f
abc.js
@@ -66,7 +66,7 @@ onAuthStateChanged(auth, async (user) => {
66
const targetUserId = isViewingOwnProfile ? user.uid : viewedUserId;
67
const targetUser = isViewingOwnProfile ? user : await getUserData(targetUserId);
68
const nombreUsuario = targetUser.displayName || "Usuario";
69
- const usuarioElement = document.getElementById('usuario');
+ const usuarioElement = document.querySelector('.usuario');
70
// Actualizar UI
71
const updateProfileUI = () => {
72
document.getElementById('correoElectronico').textContent = targetUser.email || 'Correo no definido';
0 commit comments