Skip to content

Commit

Permalink
⚡️ Only preload first 2 channels images
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbertrand committed Oct 5, 2024
1 parent 9564e44 commit 9119101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const { data, error } = await useFetch(
v-for="programme of programmes"
:key="programme.start"
:programme="programme"
:shouldPreload="index < 3"
:shouldPreload="index < 2"
class="programme"
/>
</div>
Expand Down

0 comments on commit 9119101

Please sign in to comment.