import { useTranslation } from "react-i18next"; import { I18nKey } from "#/i18n/declaration"; import ExclamationCircleIcon from "#/icons/exclamation-circle.svg?react"; interface ErrorStateProps { onRetry: () => void; } export function ErrorState({ onRetry }: ErrorStateProps) { const { t } = useTranslation("openhands"); return (

{t(I18nKey.AUTOMATIONS$ERROR_TITLE)}

); }