mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use the highlightsRef when opening the all highlights modal
This commit is contained in:
parent
885e80fb46
commit
ce8c023733
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ export default function PdfArticleContainer(
|
|||
)}
|
||||
{props.showHighlightsModal && (
|
||||
<HighlightsModal
|
||||
highlights={props.article.highlights}
|
||||
highlights={highlightsRef.current}
|
||||
onOpenChange={() => props.setShowHighlightsModal(false)}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue