fix(content): include currentArticle in useEffect deps to satisfy lint

This commit is contained in:
Gigi
2025-10-13 16:27:18 +02:00
parent 744e86b290
commit 326d571871

View File

@@ -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) {