feat: correctly use error boundaries per-page

This commit is contained in:
Aarnav Tale
2026-03-14 13:52:08 -04:00
parent 38cf93e5ae
commit 225a52ded6
8 changed files with 157 additions and 1 deletions
+5
View File
@@ -1,6 +1,7 @@
import { ArrowRight } from "lucide-react";
import Link from "~/components/link";
import PageError from "~/components/page-error";
import type { Route } from "./+types/overview";
@@ -64,3 +65,7 @@ export default function Page({ loaderData: { config, isOidcEnabled } }: Route.Co
</div>
);
}
export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) {
return <PageError error={error} page="Settings" />;
}