Skip to content

Commit e0153aa

Browse files
committed
Fix react :key issue
1 parent ab23682 commit e0153aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/portal/ui/inspector.cljs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1098,8 +1098,8 @@
10981098
:font-family (:font-family theme)
10991099
:border [1 :solid "rgba(0,0,0,0)"]
11001100
:background (when selected background)}})
1101-
[inspector-border context]
1102-
[multi-select-counter context]]
1101+
^{:key "inspector-border"} [inspector-border context]
1102+
^{:key "multi-select-counter"} [multi-select-counter context]]
11031103
children)))
11041104

11051105
(defn- inspector* [context value]

0 commit comments

Comments
 (0)