Skip to content

Commit

Permalink
chore: remove keyed lit element
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio committed Oct 30, 2021
1 parent 7eac4e8 commit 6a3a30d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -22,7 +22,7 @@ export class ListSerieComponent extends LitElementComponent {
for (let i = 0; i < this.ctrl.elements.length; i++) {
tables.push(
html`
<table key="{i}">
<table>
<thead>
<tr>
<th class="w-1/8">#</th>
Expand All @@ -34,7 +34,7 @@ export class ListSerieComponent extends LitElementComponent {
</thead>
<tbody>
${this.ctrl.measuredSeries.map((serie: MeasuredSerieModel, index: number) => {
return html` <tr key="{index}">
return html` <tr>
<td class="text-center">${index + 1}</td>
<td class="text-center">${serie.getId()}</td>
<td class="text-center">${serie.getTitle()}</td>
Expand Down

0 comments on commit 6a3a30d

Please sign in to comment.