refactor: extract Fallback component into smaller reusable components

This commit is contained in:
karenvicent committed 2025-07-21 16:13:18 -04:00
1 parent 200a933647
commit 62f94cfb20
15 files changed
+365 -216

No files matched your search

+3 -8
View File
@@ -174,14 +174,9 @@ const UptimeMonitors = () => {
) {
return (
<Fallback
vowelStart={true}
title="uptime monitor"
checks={[
"Check if websites or servers are online & responsive",
"Alert teams about downtime or performance issues",
"Monitor HTTP endpoints, pings, containers & ports",
"Track historical uptime and reliability trends",
]}
type="uptimeMonitor"
title={t("uptimeMonitor.fallback.title")}
checks={t("uptimeMonitor.fallback.checks", { returnObjects: true })}
link="/uptime/create"
isAdmin={isAdmin}
/>