fix(highlights): prevent highlights panel from auto-opening on article load

This commit is contained in:
Gigi
2025-10-05 22:28:07 +01:00
parent c407663c2b
commit fa52d61c20

View File

@@ -40,7 +40,7 @@ export function useArticleLoader({
setReaderContent(undefined)
setSelectedUrl(`nostr:${naddr}`)
setIsCollapsed(true)
setIsHighlightsCollapsed(false)
// Keep highlights panel collapsed by default - only open on user interaction
try {
const article = await fetchArticleByNaddr(relayPool, naddr)