We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb46b63 commit e5a9489Copy full SHA for e5a9489
‎src/components/VideoCarousel.svelte
@@ -12,8 +12,10 @@
12
'fthlphRmsjY',
13
'dd7pqAPd-p0',
14
'M2R3zgvbZ30',
15
- '0UCrI7NJ5KI',
16
'0xPyRA-he5c',
+ '0UCrI7NJ5KI',
17
+ 'yfaQM3aHgxE',
18
+ 'sC3FqzpDrpQ',
19
'CO2kYUMpYPk',
20
'fs0NUGmsa10',
21
'4VlwyI0EHo4'
@@ -30,7 +32,9 @@
30
32
</script>
31
33
34
<div class="container">
- <Youtube id={VIDEOS[$index]} animations={false} />
35
+ {#key $index}
36
+ <Youtube id={VIDEOS[$index]} animations={false} />
37
+ {/key}
38
<div class="grid">
39
{#each VIDEOS as id}
40
<!-- svelte-ignore a11y-click-events-have-key-events -->
0 commit comments