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
1 changed files with 1 additions and 1 deletions

View File

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