Properly key each app card

This commit is contained in:
Andrew Kingston 2021-05-10 12:36:32 +01:00
parent 04dc9ca175
commit 99ff417aa8
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@
class:appGrid={layout === "grid"} class:appGrid={layout === "grid"}
class:appTable={layout === "table"} class:appTable={layout === "table"}
> >
{#each $apps as app, idx} {#each $apps as app, idx (app._id)}
<svelte:component <svelte:component
this={layout === "grid" ? AppCard : AppRow} this={layout === "grid" ? AppCard : AppRow}
{app} {app}