mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
fix: improve article loading performance and error handling
This commit is contained in:
@@ -248,7 +248,6 @@ export function useArticleLoader({
|
|||||||
return h.eventReference === coord || h.eventReference === eventId
|
return h.eventReference === coord || h.eventReference === eventId
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
await fetchHighlightsForArticle(
|
await fetchHighlightsForArticle(
|
||||||
relayPool,
|
relayPool,
|
||||||
coord,
|
coord,
|
||||||
@@ -311,5 +310,4 @@ export function useArticleLoader({
|
|||||||
setCurrentArticleEventId,
|
setCurrentArticleEventId,
|
||||||
setCurrentArticle
|
setCurrentArticle
|
||||||
])
|
])
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user