mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
fix: don't prefetch as links enter viewport
This commit is contained in:
@@ -6,7 +6,7 @@ export function InheritanceText({ data }: { data: InheritanceData }) {
|
||||
return (
|
||||
<Text weight={600}>
|
||||
{'Inherited from '}
|
||||
<Link href={data.path} passHref>
|
||||
<Link href={data.path} passHref prefetch={false}>
|
||||
<Anchor component="a" className="font-mono">
|
||||
{data.parentName}
|
||||
</Anchor>
|
||||
|
||||
Reference in New Issue
Block a user