Update the highlightsRef list when creating a merged PDF highlight
This commit is contained in:
@ -355,7 +355,7 @@ export default function PdfArticleContainer(
|
||||
overlapHighlightIdList: mergedIds.toArray(),
|
||||
})
|
||||
if (result) {
|
||||
props.article.highlights.push(result)
|
||||
highlightsRef.current.push(result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user