fix(data-table-skeleton): every row should animate text #734 (#736)

* fix(data-table-skeleton): every row should animate text #734

Fixes #734

* fix(data-table-skeleton): revert unkeyed each
This commit is contained in:
Eric Liu 2021-07-08 07:58:26 -07:00 committed by GitHub
commit 19dbad1f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,17 +86,12 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{#each Array.from({ length: rows }, (_, i) => i) as row (row)}
<tr> <tr>
{#each cols as col (col)} {#each cols as col (col)}
<td><span></span></td> <td><span></span></td>
{/each} {/each}
</tr> </tr>
{#each Array.from({ length: rows - 1 }, (_, i) => i) as row (row)}
<tr>
{#each cols as col (col)}
<td></td>
{/each}
</tr>
{/each} {/each}
</tbody> </tbody>
</table> </table>