mirror of
https://github.com/dergigi/boris.git
synced 2025-12-17 14:44:26 +01:00
fix(highlights): prevent highlights panel from auto-opening on article load
This commit is contained in:
@@ -40,7 +40,7 @@ export function useArticleLoader({
|
|||||||
setReaderContent(undefined)
|
setReaderContent(undefined)
|
||||||
setSelectedUrl(`nostr:${naddr}`)
|
setSelectedUrl(`nostr:${naddr}`)
|
||||||
setIsCollapsed(true)
|
setIsCollapsed(true)
|
||||||
setIsHighlightsCollapsed(false)
|
// Keep highlights panel collapsed by default - only open on user interaction
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const article = await fetchArticleByNaddr(relayPool, naddr)
|
const article = await fetchArticleByNaddr(relayPool, naddr)
|
||||||
|
|||||||
Reference in New Issue
Block a user