import type { FC } from "react"; import { Button, Group } from "@mantine/core"; import { StateView } from "@wealthledger/ui"; import { useTranslation } from "react-i18next"; import { ReadRetryButton, type ReadRetryProps } from "@/shared/ui"; type AccountEventsPageErrorProps = { onReset: () => void; readRetry: ReadRetryProps; }; const AccountEventsPageError: FC = (props) => { const { t } = useTranslation(); return ( {props.readRetry.exhausted && ( )} )} error text={t("events.errorText")} title={t("events.errorTitle")} /> ); }; export { AccountEventsPageError };