refactor: add @/lib/alerts

This commit is contained in:
henrygd
2025-08-24 19:57:28 -04:00
parent 0638ff3c21
commit 72334c42d0
7 changed files with 184 additions and 185 deletions

View File

@@ -2,7 +2,8 @@ import { ColumnDef } from "@tanstack/react-table"
import { AlertsHistoryRecord } from "@/types"
import { Button } from "@/components/ui/button"
import { Badge } from "@/components/ui/badge"
import { alertInfo, formatShortDate, toFixedFloat, formatDuration, cn } from "@/lib/utils"
import { formatShortDate, toFixedFloat, formatDuration, cn } from "@/lib/utils"
import { alertInfo } from "@/lib/alerts"
import { Trans } from "@lingui/react/macro"
import { t } from "@lingui/core/macro"