Files
ttrpg_manager/src/app/NotFound.tsx
T
NilsBriggen f7e1c43612 Clear lint warnings from the audit branch (deps + extract NotFound)
- CreationWizard: add sys.skills to the loader effect's deps (stable singleton).
- Extract NotFound to src/app/NotFound.tsx so router.tsx no longer trips
  react-refresh/only-export-components.

Branch is now warning-clean (the 3 remaining eslint errors are pre-existing on master,
in files this branch does not touch).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 17:50:27 +02:00

13 lines
502 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { Link } from '@tanstack/react-router';
/** Shown for any URL outside the app's routes (previously rendered a blank shell). */
export function NotFound() {
return (
<div className="p-10 text-center">
<h1 className="font-display text-2xl font-semibold text-ink">Page not found</h1>
<p className="mt-2 text-muted">That page doesnt exist or has moved.</p>
<Link to="/" className="mt-4 inline-block text-accent hover:underline">Back to campaigns</Link>
</div>
);
}