fix(uns): @key node rows for stable Blazor diffing (review)

This commit is contained in:
Joseph Doherty
2026-06-08 12:27:19 -04:00
parent cec670f0c8
commit 2c0297c1af
@@ -35,7 +35,7 @@
{
var indent = $"padding-left:{depth * 18}px";
var hasExpander = node.Children.Count > 0 || node.HasLazyChildren;
<div class="d-flex align-items-center gap-1 py-1" style="@indent">
<div @key="node.Key" class="d-flex align-items-center gap-1 py-1" style="@indent">
@if (hasExpander)
{
<button type="button" class="btn btn-sm btn-link p-0"