diff --git a/packages/web/components/templates/article/HighlightsLayer.tsx b/packages/web/components/templates/article/HighlightsLayer.tsx index a7ed6f4a6..3f2ef264d 100644 --- a/packages/web/components/templates/article/HighlightsLayer.tsx +++ b/packages/web/components/templates/article/HighlightsLayer.tsx @@ -701,7 +701,9 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element { dispatchHighlightMessage('noteCreated') } else { try { - await createHighlightCallback(event.annotation) + await createHighlightCallback({ + annotation: event.annotation, + }) dispatchHighlightMessage('noteCreated') } catch (error) { dispatchHighlightError('saveAnnotation', error)