import { useTranslation } from "react-i18next"; import { I18nKey } from "#/i18n/declaration"; import { Typography } from "#/ui/typography"; interface HooksEmptyStateProps { isError: boolean; } export function HooksEmptyState({ isError }: HooksEmptyStateProps) { const { t } = useTranslation("openhands"); return (
{isError ? t(I18nKey.COMMON$FETCH_ERROR) : t(I18nKey.CONVERSATION$NO_HOOKS)}
); }