mirror of
https://github.com/dergigi/boris.git
synced 2025-12-17 14:44:26 +01:00
fix: add missing useEffect dependencies for article loading
- Fix useBookmarksData hook to include all callback dependencies - Fix useArticleLoader hook to include all setter function dependencies - Fix useExternalUrlLoader hook to include all setter function dependencies - Ensures articles load properly when navigating
This commit is contained in:
@@ -101,5 +101,5 @@ export function useArticleLoader({
|
||||
}
|
||||
|
||||
loadArticle()
|
||||
}, [naddr, relayPool])
|
||||
}, [naddr, relayPool, setSelectedUrl, setReaderContent, setReaderLoading, setIsCollapsed, setHighlights, setHighlightsLoading, setCurrentArticleCoordinate, setCurrentArticleEventId, setCurrentArticle])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user