/**
 * Error element for the catch-all splat route.
 *
 * React Router renders this when the splat loader throws a 404 Response.
 * The URL is preserved in the address bar (no redirect).
 */

import { ErrorPage } from "@/ui/errors/ErrorPage.js";

export default function NotFoundErrorElement(): JSX.Element {
  return <ErrorPage code="404" />;
}
