From 55ba1ea4f94f19e6ccda41bfd94c86f676157daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 12 Feb 2021 15:12:52 +0100 Subject: [PATCH] refactoring --- .../demos/Experiments/Annotation/extension/AnnotationState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts b/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts index eede1f3c..c7615da8 100644 --- a/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts +++ b/docs/src/demos/Experiments/Annotation/extension/AnnotationState.ts @@ -100,7 +100,7 @@ export class AnnotationState { console.warn(`[${this.options.instance}] corrupt decoration `, annotation.from, from, annotation.to, to) } - return decorations.push( + decorations.push( Decoration.inline(from, to, HTMLAttributes, { id, data: annotation.data }), ) })