import { useT } from "@agent-native/core/client/i18n"; import { IconAlertTriangle, IconRefresh } from "@tabler/icons-react"; import { Alert, AlertDescription, AlertTitle } from "./ui/alert"; import { Button } from "./ui/button"; interface ActionQueryErrorProps { error?: unknown; onRetry: () => unknown; className?: string; } export function ActionQueryError({ onRetry, className, }: ActionQueryErrorProps) { const t = useT(); return ( {t("dispatch.pages.dataLoadFailed")} {t("dispatch.pages.dataLoadFailedDescription")} ); }