mirror of
https://github.com/dergigi/boris.git
synced 2026-01-04 07:24:27 +01:00
fix(content): include currentArticle in useEffect deps to satisfy lint
This commit is contained in:
@@ -147,7 +147,7 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
|
||||
}
|
||||
|
||||
checkReadStatus()
|
||||
}, [selectedUrl, currentArticle?.id, activeAccount, relayPool, isNostrArticle])
|
||||
}, [selectedUrl, currentArticle, activeAccount, relayPool, isNostrArticle])
|
||||
|
||||
const handleMarkAsRead = () => {
|
||||
if (!activeAccount || !relayPool || isMarkedAsRead) {
|
||||
|
||||
Reference in New Issue
Block a user