@soomo/text-annotator 3.0.0-staging.23 → 3.0.0-staging.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1839,7 +1839,7 @@ const Cn = (t, e) => {
1839
1839
  ...s,
1840
1840
  selector: S.map((T) => le(T, t, o)),
1841
1841
  updated: /* @__PURE__ */ new Date()
1842
- }, i.getAnnotation(s.annotation) ? i.updateTarget(s, N.LOCAL) : (i.addAnnotation({
1842
+ }, i.getAnnotation(s.annotation) ? i.updateTarget(s, N.LOCAL) : (r.clear(), i.addAnnotation({
1843
1843
  id: s.annotation,
1844
1844
  bodies: [],
1845
1845
  target: s