Files
pangolin/src/app/[orgId]/settings/alerting/page.tsx
miloschwartz 2841c5ed4e basic rules
2026-03-29 14:19:26 -07:00

25 lines
705 B
TypeScript

import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
import AlertingRulesTable from "@app/components/AlertingRulesTable";
import { getTranslations } from "next-intl/server";
type AlertingPageProps = {
params: Promise<{ orgId: string }>;
};
export const dynamic = "force-dynamic";
export default async function AlertingPage(props: AlertingPageProps) {
const params = await props.params;
const t = await getTranslations();
return (
<>
<SettingsSectionTitle
title={t("alertingTitle")}
description={t("alertingDescription")}
/>
<AlertingRulesTable orgId={params.orgId} />
</>
);
}