remove prefetch false

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-08 09:59:12 +02:00
parent 26a992dcc6
commit 66d75e8a7a
12 changed files with 1 additions and 15 deletions

View File

@@ -69,7 +69,6 @@ export function ListReports({ reports }: ListReportsProps) {
return (
<div className="card" key={report.id}>
<Link
prefetch={false}
href={`/${params.organizationSlug}/${params.projectId}/reports/${report.id}`}
className="flex items-center justify-between border-b border-border p-4 leading-none [&_svg]:hover:opacity-100"
shallow

View File

@@ -99,7 +99,6 @@ export function EventListItem(props: EventListItemProps) {
<div className="flex gap-4">
<Tooltiper asChild content={getProfileName(profile)}>
<Link
prefetch={false}
onClick={(e) => {
e.stopPropagation();
}}

View File

@@ -40,7 +40,6 @@ function LinkWithIcon({
const active = overrideActive || href === pathname;
return (
<Link
prefetch={false}
className={cn(
'text-text flex items-center gap-2 rounded-md px-3 py-2 text-sm font-medium leading-none transition-all transition-colors hover:bg-slate-100',
active && 'bg-slate-100',

View File

@@ -55,7 +55,7 @@ export function LayoutSidebar({
<Hamburger toggled={active} onToggle={setActive} size={20} />
</div>
<div className="flex h-16 shrink-0 items-center border-b border-border px-4">
<Link prefetch={false} href="/">
<Link href="/">
<Logo />
</Link>
</div>
@@ -68,7 +68,6 @@ export function LayoutSidebar({
<div className="h-8 w-full bg-gradient-to-t from-background to-background/0"></div>
<div className="flex flex-col gap-2 bg-background p-4 pt-0">
<Link
prefetch={false}
className={cn('flex gap-2', buttonVariants())}
href={`/${organizationSlug}/${projectId}/reports`}
>

View File

@@ -48,7 +48,6 @@ export function ProfileList({ data, count, limit = 50 }: ProfileListProps) {
render(profile) {
return (
<Link
prefetch={false}
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
className="flex items-center gap-2 font-medium"
>

View File

@@ -42,7 +42,6 @@ async function ProfileTopServer({ organizationSlug, projectId }: Props) {
render(profile) {
return (
<Link
prefetch={false}
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
className="flex items-center gap-2 font-medium"
>