import { FC, ReactNode } from 'react' import { Alert } from 'react-bootstrap' import { useTranslation } from 'react-i18next' export const ErrorBoundaryFallback: FC<{ modal?: ReactNode }> = ({ children, modal, }) => { return (
{children || } {modal}
) } const DefaultContent = () => { const { t } = useTranslation() return

{`${t('generic_something_went_wrong')}. ${t('please_refresh')}`}

}