Skip to content

Commit a14753b

Browse files
committed
Set prefetch to false to optimize loading behavior of blog
1 parent a7cc91d commit a14753b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/routes/blog/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default component$(() => {
6363
<ol class="mx-3 mt-6 flex flex-wrap lg:mx-2 lg:mt-10">
6464
{posts.value.map((post) => (
6565
<li class="w-full px-5 py-6 md:w-1/2 lg:p-8" key={post.href}>
66-
<Link class="flex flex-col gap-8" href={post.href}>
66+
<Link class="flex flex-col gap-8" href={post.href} prefetch={false}>
6767
<PostCover variant="blog" label={post.cover} />
6868
<div class="flex flex-col gap-5">
6969
<h3 class="text-lg font-medium leading-normal text-slate-900 md:text-xl lg:text-2xl dark:text-slate-200">

0 commit comments

Comments
 (0)