Skip to content

Remove console.log from AuthButton render path#15

Draft
Copilot wants to merge 2 commits intofeat/personal-sitefrom
copilot/sub-pr-13
Draft

Remove console.log from AuthButton render path#15
Copilot wants to merge 2 commits intofeat/personal-sitefrom
copilot/sub-pr-13

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

Addresses feedback from #13 to remove debug logging that exposes user email addresses in production.

Changes

  • Removed console.log statement from AuthButton.tsx render path (lines 24-26)

Context
The statement logged user object and authentication state on every component render, causing log spam and leaking PII to browser console in production.

// Before
console.log('AuthButton render - user:', user, 'isAuthenticated:', isAuthenticated, 'isLoading:', isLoading);

// After
// (removed)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI mentioned this pull request Feb 12, 2026
@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
string-v2 Ready Ready Preview, Comment Feb 12, 2026 4:06pm

Co-authored-by: ghostleek <44336310+ghostleek@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP Address feedback from review on 'Feat/personal site' PR Remove console.log from AuthButton render path Feb 12, 2026
Copilot AI requested a review from ghostleek February 12, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants