Merged in fix/do-not-prefetch-edit-profile-link (pull request #535)

fix: don't prefetch the edit profile link
This commit is contained in:
Michael Zetterberg
2024-08-29 07:45:27 +00:00

View File

@@ -44,7 +44,7 @@ export default async function Profile({ params }: PageArgs<LangParams>) {
</Title>
</hgroup>
<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" })}
</Link>
</Button>