From 3c5ef282863ae4796622795b6b30c053126ab6c9 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 30 Jun 2025 18:12:26 -0400
Subject: warning fix.

---
 src/client/views/pdf/Annotation.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/client/views/pdf/Annotation.tsx')

diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index e8a5235c9..69dda89cb 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -119,9 +119,9 @@ export class Annotation extends ObservableReactComponent<IAnnotationProps> {
                 {StrListCast(this._props.annoDoc.text_inlineAnnotations)
                     .map(a => a.split?.(':'))
                     .filter(fields => fields)
-                    .map(([x, y, width, height]) => (
+                    .map(([x, y, width, height], i) => (
                         <div
-                            key={'' + x + y + width + height}
+                            key={'' + x + y + width + height + i}
                             style={{ pointerEvents: this._props.pointerEvents?.() as Property.PointerEvents }}
                             onPointerDown={this.onPointerDown}
                             onContextMenu={this.onContextMenu}
-- 
cgit v1.2.3-70-g09d2

