Skip to content

Commit e5f7b93

Browse files
committed
[nested-v-grid] Make row-header react keys safer
1 parent 2960728 commit e5f7b93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/re_com/nested_v_grid.cljs

+2-2
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@
656656
(part ::row-header
657657
{:part ::row-header
658658
:props props
659-
:key [::row-header keypath]
659+
:key [::row-header keypath branch-end?]
660660
:theme (when theme-cells? theme)}))
661661

662662
column-headers
@@ -694,7 +694,7 @@
694694
{:part ::column-header
695695
:theme (when theme-cells? theme)
696696
:props props
697-
:key [::column-header keypath]}))
697+
:key [::column-header keypath branch-end?]}))
698698

699699
corner-headers
700700
(for [column-index (range @row-depth)

0 commit comments

Comments
 (0)