perf: use keyed each for media (#963)

This commit is contained in:
Nolan Lawson 2019-02-10 13:27:29 -08:00 committed by GitHub
parent fdcaa864af
commit 795999e5ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
>
<div class="media-container">
<ul class="media-scroll" ref:scroller>
{#each mediaItems as media}
{#each mediaItems as media (media.id)}
<li class="media-scroll-item">
<div class="media-scroll-item-inner">
<div class="media-scroll-item-inner-inner">