Disable prefetching on contributors page (website) (#5783)
Disable prefetching on contributors list as it spams the server
This commit is contained in:
@ -67,7 +67,11 @@ const AvatarGrid = ({ users }: { users: User[] }) => {
|
|||||||
<MotionContainer>
|
<MotionContainer>
|
||||||
<AvatarGridContainer>
|
<AvatarGridContainer>
|
||||||
{users.map((user) => (
|
{users.map((user) => (
|
||||||
<Link href={`/contributors/${user.id}`} key={`l_${user.id}`}>
|
<Link
|
||||||
|
href={`/contributors/${user.id}`}
|
||||||
|
key={`l_${user.id}`}
|
||||||
|
prefetch={false}
|
||||||
|
>
|
||||||
<AvatarItem key={user.id}>
|
<AvatarItem key={user.id}>
|
||||||
<Image
|
<Image
|
||||||
src={user.avatarUrl}
|
src={user.avatarUrl}
|
||||||
|
|||||||
Reference in New Issue
Block a user