mirror of
https://github.com/dergigi/boris.git
synced 2026-01-27 18:54:20 +01:00
fix: correct profile fetching implementation and dependencies
- Use eventStore.add() directly instead of mapEventsToStore - Use tap() operator to process and store events as they arrive - Add eventStore and settings to useEffect dependencies - Fixes TypeScript and ESLint errors
This commit is contained in:
@@ -197,7 +197,7 @@ const Explore: React.FC<ExploreProps> = ({ relayPool, eventStore, settings, acti
|
||||
}
|
||||
|
||||
loadData()
|
||||
}, [relayPool, activeAccount, blogPosts.length, highlights.length, refreshTrigger])
|
||||
}, [relayPool, activeAccount, blogPosts.length, highlights.length, refreshTrigger, eventStore, settings])
|
||||
|
||||
// Pull-to-refresh
|
||||
const pullToRefreshState = usePullToRefresh(exploreContainerRef, {
|
||||
|
||||
Reference in New Issue
Block a user