aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/docs/app/routes/not-found.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/docs/app/routes/not-found.tsx')
-rw-r--r--packages/docs/app/routes/not-found.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/docs/app/routes/not-found.tsx b/packages/docs/app/routes/not-found.tsx
new file mode 100644
index 0000000..1d9e041
--- /dev/null
+++ b/packages/docs/app/routes/not-found.tsx
@@ -0,0 +1,7 @@
+export function loader() {
+ throw new Response('Not Found', { status: 404 });
+}
+
+export default function NotFound() {
+ return null;
+}