diff --git a/packages/console/src/components/ErrorBoundary/index.module.scss b/packages/console/src/components/ErrorBoundary/index.module.scss index 796034edc..2a3f4953c 100644 --- a/packages/console/src/components/ErrorBoundary/index.module.scss +++ b/packages/console/src/components/ErrorBoundary/index.module.scss @@ -24,7 +24,7 @@ img, h2 { - align-self: flex-end; + align-self: center; } details { diff --git a/packages/console/src/components/ErrorBoundary/index.tsx b/packages/console/src/components/ErrorBoundary/index.tsx index 951e32c89..818a38cb1 100644 --- a/packages/console/src/components/ErrorBoundary/index.tsx +++ b/packages/console/src/components/ErrorBoundary/index.tsx @@ -1,6 +1,6 @@ import { conditional } from '@silverhand/essentials'; import React, { Component, ReactNode } from 'react'; -import { Namespace, TFunction, withTranslation } from 'react-i18next'; +import { TFunction, withTranslation } from 'react-i18next'; import ErrorImage from '@/assets/images/table-error.svg'; @@ -8,7 +8,7 @@ import * as styles from './index.module.scss'; type Props = { children: ReactNode; - t: TFunction; + t: TFunction; }; type State = { @@ -48,7 +48,7 @@ class ErrorBoundary extends Component {
oops -

{t('errors.something_went_wrong')}

+

{t('admin_console.errors.something_went_wrong')}

{errorMessage} {callStack}