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

@@ -50,8 +50,6 @@ export function useOfflineSync({
const isNowOnline = hasRemoteRelays
if (wasLocalOnly && isNowOnline) {
console.log('✈️ Detected transition: Flight Mode → Online')
console.log('📊 Relay state:', {
connectedRelays: connectedRelays.length,
remoteRelays: connectedRelays.filter(r => !isLocalRelay(r.url)).length,
localRelays: connectedRelays.filter(r => isLocalRelay(r.url)).length
@@ -59,7 +57,6 @@ export function useOfflineSync({
// Wait a moment for relays to fully establish connections
setTimeout(() => {
console.log('🚀 Starting sync after delay...')
syncLocalEventsToRemote(relayPool, eventStore)
}, 2000)
}