mirror of
https://github.com/vercel/commerce.git
synced 2025-06-28 01:11:24 +00:00
fix: build
This commit is contained in:
parent
0843d1219d
commit
e55b806aa4
@ -1,5 +0,0 @@
|
|||||||
import { notFound } from 'next/navigation';
|
|
||||||
|
|
||||||
export default function NotFoundCatchAll() {
|
|
||||||
notFound();
|
|
||||||
}
|
|
11
app/not-found.tsx
Normal file
11
app/not-found.tsx
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import Link from 'next/link'
|
||||||
|
|
||||||
|
export default function NotFound() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<h2>Not Found</h2>
|
||||||
|
<p>Could not find requested resource</p>
|
||||||
|
<Link href="/">Return Home</Link>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user