16 lines
423 B
TypeScript
16 lines
423 B
TypeScript
import { Outlet, type RouteHandle } from "react-router";
|
|
import type { Route } from "./+types/layout";
|
|
import { LayoutErrorBoundary } from "~/components/ui/error";
|
|
|
|
export const handle: RouteHandle = {
|
|
crumb: () => ["Functions"],
|
|
};
|
|
|
|
export default function FunctionsLayout() {
|
|
return <Outlet />;
|
|
}
|
|
|
|
export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) {
|
|
return <LayoutErrorBoundary error={error} />;
|
|
}
|