refactor: remove all console.log debug output

This commit is contained in:
Gigi
2025-10-19 22:35:45 +02:00
parent 1c21615103
commit 4202807777
58 changed files with 11 additions and 411 deletions

View File

@@ -48,7 +48,6 @@ function getFromCache(naddr: string): ArticleContent | null {
return null
}
console.log('📦 Loaded article from cache:', naddr)
return content
} catch {
return null
@@ -63,7 +62,6 @@ function saveToCache(naddr: string, content: ArticleContent): void {
timestamp: Date.now()
}
localStorage.setItem(cacheKey, JSON.stringify(cached))
console.log('💾 Saved article to cache:', naddr)
} catch (err) {
console.warn('Failed to cache article:', err)
// Silently fail if storage is full or unavailable