import { Link } from "@tanstack/react-router"; import type { ReactNode } from "react"; import { buttonClass } from "~/ui/Button"; import { Heading } from "~/ui/Heading"; export function NotFound({ children }: { children?: ReactNode }) { return (
404
{children ?? "This page doesn't exist, or you don't have access to it."} Back to dashboard
); }