import { FC } from 'react' import { useTranslation } from 'react-i18next' import Icon from './icon' import { Button } from 'react-bootstrap' import { useLocation } from '../hooks/use-location' import { DefaultMessage } from './default-message' export const GenericErrorBoundaryFallback: FC = ({ children }) => { const { t } = useTranslation() const { reload: handleClick } = useLocation() return (
{children || (
)}
) }