import { NotFoundView } from "./_views/NotFound";
import { DEFAULT_LOCALE } from "@/lib/locales";

/**
 * The not-found boundary inside the locale tree. The registry's own /404 route
 * renders the same view, so a mistyped URL and a deliberate visit to /sq/404
 * look identical.
 *
 * A boundary cannot read route params, so it falls back to Albanian; every
 * real path that could 404 is reached through the proxy, which keeps the
 * visitor inside a locale tree.
 */
export default function NotFound() {
  return <NotFoundView locale={DEFAULT_LOCALE} />;
}
