mirror of
https://github.com/dergigi/boris.git
synced 2025-12-24 18:14:21 +01:00
Fixed critical issue where async operations in onEvent callback were blocking the queryEvents observable from completing: Changes: 1. Removed async/await from onEvent callback - Now just collects events synchronously - No blocking operations in the stream 2. Moved auto-decryption to after query completes - Batch process encrypted events after EOSE - Sequential decryption (cleaner, more predictable) 3. Simplified useEffect triggers in App.tsx - Removed duplicate mount + account change effects - Single effect handles both cases Result: Query now completes properly, bookmarks load and display.