diff --git a/libs/annotation/src/components/AnnotationViewer/index.tsx b/libs/annotation/src/components/AnnotationViewer/index.tsx index 5d200d35d..e73f20f7d 100644 --- a/libs/annotation/src/components/AnnotationViewer/index.tsx +++ b/libs/annotation/src/components/AnnotationViewer/index.tsx @@ -72,7 +72,7 @@ export function AnnotationViewer({ if (!drawableAnnotation) return null - const { type } = drawableAnnotation + const { type, dataAttrs } = drawableAnnotation return ( {type === 'polygon' && } {(type === 'freeLine' || type === 'line' || type === 'arrowLine') && (