Skip to content

Commit c52f672

Browse files
GilbertSunsunzhengbin
and
sunzhengbin
authored
fix: showcase indexpage crash in next@14 (#208)
Co-authored-by: sunzhengbin <[email protected]>
1 parent 9e27896 commit c52f672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/showcase/pages/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Home: NextPage = () => {
2626
</p>
2727

2828
<div className={styles.demos}>
29-
<Link href="/gmail">
29+
<Link href="/gmail" legacyBehavior>
3030
<div className={styles.demoCard}>
3131
<div className={`${styles.demoCardImage} gmail`}></div>
3232
<b>Custom Styles</b>
@@ -39,7 +39,7 @@ const Home: NextPage = () => {
3939
</div>
4040
</Link>
4141

42-
<Link href="/cities">
42+
<Link href="/cities" legacyBehavior>
4343
<div className={styles.demoCard}>
4444
<div className={`${styles.demoCardImage} cities`}></div>
4545
<b>30,000 Nodes</b>

0 commit comments

Comments
 (0)