mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-28 16:57:14 +00:00
25 lines
705 B
TypeScript
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} />
|
|
</>
|
|
);
|
|
}
|