Remove debug console.logs from profile page

By specifier.
This commit is contained in:
Chris Troutner
2026-09-03 06:49:21 -07:00
parent 4764edff78
commit 45882dc4aa
@@ -99,8 +99,6 @@ function Profile (props) {
try { try {
const memoDb = new MemoDb() const memoDb = new MemoDb()
const myAddr = appData?.wallet?.walletInfo?.cashAddress || null const myAddr = appData?.wallet?.walletInfo?.cashAddress || null
console.log('[profile] loadProfile myAddr:', myAddr)
console.log('[profile] wallet present:', Boolean(appData?.wallet), 'walletInfo:', appData?.wallet?.walletInfo)
const memoFollow = myAddr const memoFollow = myAddr
? new MemoFollow({ wallet: appData.wallet, profiles: appData.profiles }) ? new MemoFollow({ wallet: appData.wallet, profiles: appData.profiles })
: null : null
@@ -140,15 +138,6 @@ function Profile (props) {
const showUnfollowButton = profilePage && profilePage.canFollow() && profilePage.isFollowing() const showUnfollowButton = profilePage && profilePage.canFollow() && profilePage.isFollowing()
const showMuteButton = profilePage && profilePage.canMute() && !profilePage.isMuting() const showMuteButton = profilePage && profilePage.canMute() && !profilePage.isMuting()
const showUnmuteButton = profilePage && profilePage.canMute() && profilePage.isMuting() const showUnmuteButton = profilePage && profilePage.canMute() && profilePage.isMuting()
console.log('[profile] render conditions:', {
profilePageLoaded: Boolean(profilePage),
myAddr: profilePage?.myAddr ?? null,
isOwnProfile: profilePage?.isOwnProfile() ?? null,
canFollow: profilePage?.canFollow() ?? null,
isFollowing: profilePage?.isFollowing() ?? null,
showFollowButton,
showUnfollowButton
})
return ( return (
<Container fluid className='profile-page mt-4'> <Container fluid className='profile-page mt-4'>