svg~*]:ps-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground bg-background text-foreground",
- className
- )}
- {...props}
- />
+ React.HTMLAttributes
& VariantProps
+>(({ className, variant, ...props }, ref) => (
+
))
Alert.displayName = "Alert"
diff --git a/internal/site/src/main.tsx b/internal/site/src/main.tsx
index 92f8da1c2..f3db08f9a 100644
--- a/internal/site/src/main.tsx
+++ b/internal/site/src/main.tsx
@@ -33,6 +33,7 @@ const Smart = lazy(() => import("@/components/routes/smart.tsx"))
const Monitors = lazy(() => import("@/components/routes/monitors.tsx"))
const SystemDetail = lazy(() => import("@/components/routes/system.tsx"))
const CopyToClipboardDialog = lazy(() => import("@/components/copy-to-clipboard.tsx"))
+const ActiveAlerts = lazy(() => import("@/components/active-alerts.tsx").then((m) => ({ default: m.ActiveAlerts })))
const App = memo(() => {
const page = useStore($router)
@@ -109,6 +110,9 @@ const Layout = () => {