Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
import { Link, type ErrorComponentProps } from "@tanstack/react-router";
import { RouteErrorPageView } from "@vetta-org/theme-ui/overlays/RouteErrorPageView";
import { useRouteErrorPageModel } from "../hooks/useRouteErrorPageModel";
import { Button } from "./ui/button";
export function RouteErrorPage(props: ErrorComponentProps): JSX.Element {
const model = useRouteErrorPageModel(props);
return (
<RouteErrorPageView
{...model}
homeAction={
<Button type="button" variant="outline" asChild>
<Link to="/">{model.labels.home}</Link>
</Button>
}
/>
);
}