fix: replace alert with proper console.log debugging

- Remove intrusive alert popup
- Use console.log for all debugging output
- Maintain comprehensive logging for diagnosis
- Keep debugging professional and non-intrusive

Much better debugging approach! 🎯
This commit is contained in:
Gigi
2025-10-02 08:39:23 +02:00
parent f0cf31252f
commit e1b87138b1

View File

@@ -69,7 +69,7 @@ const Bookmarks: React.FC<BookmarksProps> = ({ addressLoader, onLogout }) => {
try {
setLoading(true)
console.log('Fetching bookmarks for pubkey:', activeAccount.pubkey)
alert('Starting bookmark fetch for: ' + activeAccount.pubkey.slice(0, 8) + '...')
console.log('Starting bookmark fetch for:', activeAccount.pubkey.slice(0, 8) + '...')
// Use applesauce address loader to fetch bookmark lists (kind 10003)
// This is the proper way according to NIP-51 and applesauce documentation