fix: don't prefetch the edit profile link

This commit is contained in:
Michael Zetterberg
2024-08-29 09:22:54 +02:00
parent 2c6f43ef6c
commit 64fbf2ec17

View File

@@ -44,7 +44,7 @@ export default async function Profile({ params }: PageArgs<LangParams>) {
</Title> </Title>
</hgroup> </hgroup>
<Button asChild intent="primary" size="small" theme="base"> <Button asChild intent="primary" size="small" theme="base">
<Link color="none" href={profileEdit[getLang()]}> <Link prefetch={false} color="none" href={profileEdit[getLang()]}>
{formatMessage({ id: "Edit profile" })} {formatMessage({ id: "Edit profile" })}
</Link> </Link>
</Button> </Button>