zerobyte/app/routes/(dashboard)/notifications/create.tsx
2026-02-28 17:05:27 +01:00

23 lines
713 B
TypeScript

import { createFileRoute } from "@tanstack/react-router";
import { CreateNotificationPage } from "~/client/modules/notifications/routes/create-notification";
export const Route = createFileRoute("/(dashboard)/notifications/create")({
component: RouteComponent,
errorComponent: () => <div>Failed to load notification creation</div>,
staticData: {
breadcrumb: () => [{ label: "Notifications", href: "/notifications" }, { label: "Create" }],
},
head: () => ({
meta: [
{ title: "Zerobyte - Create Notification" },
{
name: "description",
content: "Create a new notification destination for backup alerts.",
},
],
}),
});
function RouteComponent() {
return <CreateNotificationPage />;
}