do not prefetch

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-04-17 11:44:54 +02:00
committed by Carl-Gerhard Lindesvärd
parent 694f5bf622
commit 3a9fcf4915
13 changed files with 16 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ export function OverviewShare({ data }: OverviewShareProps) {
{data?.public && (
<DropdownMenuItem asChild>
<Link
prefetch={false}
href={`${process.env.NEXT_PUBLIC_DASHBOARD_URL}/share/overview/${data.id}`}
>
<EyeIcon size={16} className="mr-2" />

View File

@@ -103,6 +103,7 @@ export interface LinkButtonProps
icon?: LucideIcon;
responsive?: boolean;
href: string;
prefetch?: boolean;
}
const LinkButton = React.forwardRef<