feat: disable link prefetch for feed

This commit is contained in:
DIYgod 2023-05-06 23:17:03 +01:00
parent 3ffe814abd
commit c188acc1e2
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ const Post = ({
target="_blank"
href={`/api/redirection?characterId=${post.characterId}`}
className="flex items-center space-x-4 cursor-pointer"
prefetch={false}
>
<span className="w-10 h-10 inline-block">
<Image
@ -91,6 +92,7 @@ const Post = ({
target="_blank"
href={`/api/redirection?characterId=${post.characterId}&noteId=${post.noteId}`}
className="xlog-post sm:hover:bg-hover bg-white transition-all p-4 ml-10 sm:rounded-xl flex flex-col sm:flex-row items-center"
prefetch={false}
>
<div className="flex-1 flex justify-center flex-col w-full min-w-0">
<h3 className="xlog-post-title text-2xl font-bold text-zinc-700">