fix: remove redundant setReaderLoading call in error handler

This commit is contained in:
Gigi
2025-10-05 22:39:51 +01:00
parent 66f0b2bc3f
commit 7cf2b7d35d

View File

@@ -81,7 +81,6 @@ export function useArticleLoader({
html: `<p>Failed to load article: ${err instanceof Error ? err.message : 'Unknown error'}</p>`,
url: `nostr:${naddr}`
})
setReaderLoading(false)
} finally {
setReaderLoading(false)
}