diff --git a/src/ErrorBoundary.jsx b/src/ErrorBoundary.jsx index cc78ba43..0e2d1b75 100644 --- a/src/ErrorBoundary.jsx +++ b/src/ErrorBoundary.jsx @@ -1,6 +1,7 @@ import React, { PureComponent } from 'react'; import { captureException } from '@sentry/react'; +import variables from 'config/variables'; class ErrorBoundary extends PureComponent { constructor(props) { @@ -29,18 +30,18 @@ class ErrorBoundary extends PureComponent { return (
-

A critical error has occurred

-

- The new tab page could not be loaded. Please uninstall the extension and try again. -

+

{variables.getMessage('error_boundary.title')}

+

{variables.getMessage('error_boundary.message')}

{this.state.showReport ? ( - + ) : ( -

Sent Successfully

+

{variables.getMessage('error_boundary.sent_successfully')}

)} - Support Discord + {variables.getMessage('error_boundary.support_discord')}
diff --git a/src/components/Elements/MainModal/components/ModalTopBar.jsx b/src/components/Elements/MainModal/components/ModalTopBar.jsx index 0799cd0c..f24c3910 100644 --- a/src/components/Elements/MainModal/components/ModalTopBar.jsx +++ b/src/components/Elements/MainModal/components/ModalTopBar.jsx @@ -222,7 +222,7 @@ function ModalTopBar({
Mue {breadcrumbPath.length > 0 && ( -