mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Intercepting routes should only override the slot they are in and not affect other parts of the tree. This PR makes sure we replace all other slots with the default route. Closes PACK-3219 Fixes #69299 Closes #69575
13 lines
246 B
TypeScript
13 lines
246 B
TypeScript
import Link from 'next/link'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div id="root-page">
|
|
<p>Home Page</p>
|
|
<Link href="/cart">Open cart</Link>
|
|
<br />
|
|
<Link href="/catch-all">Open catch all</Link>
|
|
</div>
|
|
)
|
|
}
|