diff --git a/keep-ui/app/runbooks/layout.tsx b/keep-ui/app/runbooks/layout.tsx new file mode 100644 index 000000000..a14e64fcd --- /dev/null +++ b/keep-ui/app/runbooks/layout.tsx @@ -0,0 +1,16 @@ +export const metadata = { + title: 'Next.js', + description: 'Generated by Next.js', +} + +export default function RootLayout({ + children, +}: { + children: React.ReactNode +}) { + return ( + +
{children} + + ) +} diff --git a/keep-ui/app/runbooks/runbook-associate-incident-modal.tsx b/keep-ui/app/runbooks/runbook-associate-incident-modal.tsx index b0ffe2260..431eb7fc4 100644 --- a/keep-ui/app/runbooks/runbook-associate-incident-modal.tsx +++ b/keep-ui/app/runbooks/runbook-associate-incident-modal.tsx @@ -1,15 +1,15 @@ import Modal from "@/components/ui/Modal"; import { Button, Divider, SelectItem, Title } from "@tremor/react"; import Select from "@/components/ui/Select"; -import CreateOrUpdateIncident from "app/incidents/create-or-update-incident"; import { useSession } from "next-auth/react"; import { useRouter } from "next/navigation"; import { FormEvent, useCallback, useEffect, useState } from "react"; import { toast } from "react-toastify"; import { getApiURL } from "../../utils/apiUrl"; import { useIncidents, usePollIncidents } from "../../utils/hooks/useIncidents"; -import Loading from "../loading"; import { RunbookDto } from "./models"; +import Loading from "../(keep)/loading"; +import { CreateOrUpdateIncidentForm } from "@/features/create-or-update-incident"; interface AlertAssociateIncidentModalProps { isOpen: boolean; @@ -105,7 +105,7 @@ const RunbookAssociateIncidentModal = ({ {isLoading ? (