Skip to content

Commit b723f9d

Browse files
authored
perf: do not re-render positionals (#2658)
1 parent 8188179 commit b723f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/component-tree-item.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{{@item.name}}
4646
</span>
4747

48-
{{#each @item.args.positional as |value|}}
48+
{{#each @item.args.positional key="@index" as |value|}}
4949
<div class="arg-token flex ml-2">
5050
{{if (is-string value) "\""}}
5151
<ComponentTreeArg @value={{value}} />

0 commit comments

Comments
 (0)