diff --git a/public/js/views/profile.js b/public/js/views/profile.js index 86363cb..644c7b4 100644 --- a/public/js/views/profile.js +++ b/public/js/views/profile.js @@ -221,7 +221,7 @@ const UserProfileView = { API.UserApi.get(this.userId), API.ReviewApi.stats(this.userId).catch(() => ({})), ]); - console.log('[UserProfile] loaded:', u && u.id, 'user:', JSON.stringify(user).slice(0,200), 'stats:', JSON.stringify(stats)); + console.log('[UserProfile] loaded: user:', JSON.stringify(user).slice(0,200), 'stats:', JSON.stringify(stats)); this.data = user.user || user; const u = this.data; const init = ((u.name || u.email || '?')[0] || '?').toUpperCase();