remove prefetch false
This commit is contained in:
@@ -69,7 +69,6 @@ export function ListReports({ reports }: ListReportsProps) {
|
|||||||
return (
|
return (
|
||||||
<div className="card" key={report.id}>
|
<div className="card" key={report.id}>
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href={`/${params.organizationSlug}/${params.projectId}/reports/${report.id}`}
|
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"
|
className="flex items-center justify-between border-b border-border p-4 leading-none [&_svg]:hover:opacity-100"
|
||||||
shallow
|
shallow
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ export function EventListItem(props: EventListItemProps) {
|
|||||||
<div className="flex gap-4">
|
<div className="flex gap-4">
|
||||||
<Tooltiper asChild content={getProfileName(profile)}>
|
<Tooltiper asChild content={getProfileName(profile)}>
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ function LinkWithIcon({
|
|||||||
const active = overrideActive || href === pathname;
|
const active = overrideActive || href === pathname;
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
className={cn(
|
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',
|
'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',
|
active && 'bg-slate-100',
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ export function LayoutSidebar({
|
|||||||
<Hamburger toggled={active} onToggle={setActive} size={20} />
|
<Hamburger toggled={active} onToggle={setActive} size={20} />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex h-16 shrink-0 items-center border-b border-border px-4">
|
<div className="flex h-16 shrink-0 items-center border-b border-border px-4">
|
||||||
<Link prefetch={false} href="/">
|
<Link href="/">
|
||||||
<Logo />
|
<Logo />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</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="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">
|
<div className="flex flex-col gap-2 bg-background p-4 pt-0">
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
className={cn('flex gap-2', buttonVariants())}
|
className={cn('flex gap-2', buttonVariants())}
|
||||||
href={`/${organizationSlug}/${projectId}/reports`}
|
href={`/${organizationSlug}/${projectId}/reports`}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ export function ProfileList({ data, count, limit = 50 }: ProfileListProps) {
|
|||||||
render(profile) {
|
render(profile) {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
|
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
|
||||||
className="flex items-center gap-2 font-medium"
|
className="flex items-center gap-2 font-medium"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ async function ProfileTopServer({ organizationSlug, projectId }: Props) {
|
|||||||
render(profile) {
|
render(profile) {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
|
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
|
||||||
className="flex items-center gap-2 font-medium"
|
className="flex items-center gap-2 font-medium"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ const Connect = ({ project }: Props) => {
|
|||||||
<ButtonContainer>
|
<ButtonContainer>
|
||||||
<div />
|
<div />
|
||||||
<LinkButton
|
<LinkButton
|
||||||
prefetch={false}
|
|
||||||
href={`/onboarding/${project.id}/verify`}
|
href={`/onboarding/${project.id}/verify`}
|
||||||
size="lg"
|
size="lg"
|
||||||
className="min-w-28 self-start"
|
className="min-w-28 self-start"
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ const Verify = ({ project, events }: Props) => {
|
|||||||
/>
|
/>
|
||||||
<ButtonContainer>
|
<ButtonContainer>
|
||||||
<LinkButton
|
<LinkButton
|
||||||
prefetch={false}
|
|
||||||
href={`/onboarding/${project.id}/connect`}
|
href={`/onboarding/${project.id}/connect`}
|
||||||
size="lg"
|
size="lg"
|
||||||
className="min-w-28 self-start"
|
className="min-w-28 self-start"
|
||||||
@@ -76,7 +75,6 @@ const Verify = ({ project, events }: Props) => {
|
|||||||
<div className="flex items-center gap-8">
|
<div className="flex items-center gap-8">
|
||||||
{!verified && (
|
{!verified && (
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href={`/${project.organizationSlug}/${project.id}`}
|
href={`/${project.organizationSlug}/${project.id}`}
|
||||||
className="text-sm text-muted-foreground underline"
|
className="text-sm text-muted-foreground underline"
|
||||||
>
|
>
|
||||||
@@ -85,7 +83,6 @@ const Verify = ({ project, events }: Props) => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<LinkButton
|
<LinkButton
|
||||||
prefetch={false}
|
|
||||||
href="/"
|
href="/"
|
||||||
size="lg"
|
size="lg"
|
||||||
className={cn(
|
className={cn(
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ const SkipOnboarding = () => {
|
|||||||
if (!pathname.startsWith('/onboarding')) return null;
|
if (!pathname.startsWith('/onboarding')) return null;
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href="/"
|
href="/"
|
||||||
className="flex items-center gap-2 text-sm text-muted-foreground"
|
className="flex items-center gap-2 text-sm text-muted-foreground"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ export function OverviewShare({ data }: OverviewShareProps) {
|
|||||||
{data?.public && (
|
{data?.public && (
|
||||||
<DropdownMenuItem asChild>
|
<DropdownMenuItem asChild>
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href={`${process.env.NEXT_PUBLIC_DASHBOARD_URL}/share/overview/${data.id}`}
|
href={`${process.env.NEXT_PUBLIC_DASHBOARD_URL}/share/overview/${data.id}`}
|
||||||
>
|
>
|
||||||
<EyeIcon size={16} className="mr-2" />
|
<EyeIcon size={16} className="mr-2" />
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ export default function FunnelStepDetails(props: Props) {
|
|||||||
render(profile) {
|
render(profile) {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
prefetch={false}
|
|
||||||
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
|
href={`/${organizationSlug}/${projectId}/profiles/${profile.id}`}
|
||||||
className="flex items-center gap-2 font-medium"
|
className="flex items-center gap-2 font-medium"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ const Footer = ({ framework }: Pick<Props, 'framework'>) => (
|
|||||||
Close
|
Close
|
||||||
</Button>
|
</Button>
|
||||||
<LinkButton
|
<LinkButton
|
||||||
prefetch={false}
|
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={framework.href}
|
href={framework.href}
|
||||||
className="flex-1"
|
className="flex-1"
|
||||||
|
|||||||
Reference in New Issue
Block a user