perf: use keyed each for media (#963)
This commit is contained in:
parent
fdcaa864af
commit
795999e5ac
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue