diff options
| author | 2026-01-29 10:15:55 +0800 | |
|---|---|---|
| committer | 2026-01-29 10:15:55 +0800 | |
| commit | c309904c5ab5394938e92bb139fc0c40d87de055 (patch) | |
| tree | e13349d0cf894979e6eaab0c47d7f05baec2c295 /packages/docs/app/routes | |
| parent | a87268d575ec98d6986d6bc80bc8c41cf27e11c0 (diff) | |
| download | DropOut-c309904c5ab5394938e92bb139fc0c40d87de055.tar.gz DropOut-c309904c5ab5394938e92bb139fc0c40d87de055.zip | |
feat(docs): enhance error boundary UI and add 404 page
Diffstat (limited to 'packages/docs/app/routes')
| -rw-r--r-- | packages/docs/app/routes/not-found.tsx | 7 |
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; +} |