Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c81582f

Browse files
committed
skip the ssr fetch cache test due to flakiness
1 parent c4a6a0a commit c81582f

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

examples/e2e/app-router/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Home() {
2222
<Nav href={"/isr"} title="ISR">
2323
Incremental Static Regeneration revalidates every 10 seconds with a new timestamp
2424
</Nav>
25-
<Nav href={"/ssr"} title="SSR" prefetch={false}>
25+
<Nav href={"/ssr"} title="SSR">
2626
Server Side Render should generate a new timestamp on each load. Streaming support for loading...
2727
</Nav>
2828
<Nav href={"/api"} title="API">

examples/e2e/shared/components/Nav/index.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@ type Props = PropsWithChildren & {
66
href: string;
77
title: string;
88
icon?: string;
9-
prefetch?: boolean;
109
};
1110
export default function Nav(p: Props) {
12-
const { children, href, title, icon = "/static/frank.webp", prefetch } = p;
11+
const { children, href, title, icon = "/static/frank.webp" } = p;
1312
return (
14-
<Link
15-
href={href}
16-
className="flex flex-col group border p-2 rounded-sm border-orange-500"
17-
prefetch={prefetch}
18-
>
13+
<Link href={href} className="flex flex-col group border p-2 rounded-sm border-orange-500">
1914
<div className="flex items-center relative">
2015
<div>{title}</div>
2116
<div>

0 commit comments

Comments
 (0)