/**
 * Locale-scoped catch-all (splat) route.
 *
 * Sibling of the global `/src/routes/$.tsx` splat, scoped to any path
 * under `/{lang}/...` that doesn't match a specific feature route.
 * Required so `/ru-ru/onlineboard//route/...`-style bad URLs render the
 * branded 404 instead of dropping out to the framework's default
 * error overlay.
 */

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

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