aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard')
-rw-r--r--apps/web/components/dashboard/preview/AttachmentBox.tsx2
-rw-r--r--apps/web/components/dashboard/tags/TagPill.tsx1
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/preview/AttachmentBox.tsx b/apps/web/components/dashboard/preview/AttachmentBox.tsx
index 674f151c..87c56eb8 100644
--- a/apps/web/components/dashboard/preview/AttachmentBox.tsx
+++ b/apps/web/components/dashboard/preview/AttachmentBox.tsx
@@ -98,6 +98,7 @@ export default function AttachmentBox({ bookmark }: { bookmark: ZBookmark }) {
target="_blank"
href={getAssetUrl(asset.id)}
className="flex items-center gap-1"
+ prefetch={false}
>
{ASSET_TYPE_TO_ICON[asset.assetType]}
<p>{humanFriendlyNameForAssertType(asset.assetType)}</p>
@@ -109,6 +110,7 @@ export default function AttachmentBox({ bookmark }: { bookmark: ZBookmark }) {
href={getAssetUrl(asset.id)}
className="flex items-center gap-1"
download={humanFriendlyNameForAssertType(asset.assetType)}
+ prefetch={false}
>
<Download className="size-4" />
</Link>
diff --git a/apps/web/components/dashboard/tags/TagPill.tsx b/apps/web/components/dashboard/tags/TagPill.tsx
index 91bd8504..81d700cd 100644
--- a/apps/web/components/dashboard/tags/TagPill.tsx
+++ b/apps/web/components/dashboard/tags/TagPill.tsx
@@ -82,6 +82,7 @@ export function TagPill({
href={`/dashboard/tags/${id}`}
data-id={id}
draggable={false}
+ prefetch={false}
>
{name} <Separator orientation="vertical" /> {count}
</Link>