From 5f68e127333297716dd991ad30dbce547511055a Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 16 Mar 2023 18:19:54 +0000 Subject: [PATCH] keep only functional elements on lock page --- ui/pages/unlock-page/unlock-page.component.js | 33 +------------------ 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/ui/pages/unlock-page/unlock-page.component.js b/ui/pages/unlock-page/unlock-page.component.js index 2ead9d57b..38f9cc55a 100644 --- a/ui/pages/unlock-page/unlock-page.component.js +++ b/ui/pages/unlock-page/unlock-page.component.js @@ -8,9 +8,8 @@ import { DEFAULT_ROUTE } from '../../helpers/constants/routes'; import { EVENT, EVENT_NAMES, - CONTEXT_PROPS, + // CONTEXT_PROPS, } from '../../../shared/constants/metametrics'; -import { SUPPORT_LINK } from '../../../shared/lib/ui-utils'; import { isBeta } from '../../helpers/utils/build-types'; import { getCaretCoordinates } from './unlock-page.util'; @@ -170,8 +169,6 @@ export default class UnlockPage extends Component { ) : null} -

{t('welcomeBack')}

-
{t('unlockMessage')}
-
- {t('needHelp', [ - { - this.context.trackEvent( - { - category: EVENT.CATEGORIES.NAVIGATION, - event: EVENT_NAMES.SUPPORT_LINK_CLICKED, - properties: { - url: SUPPORT_LINK, - }, - }, - { - contextPropsIntoEventProperties: [ - CONTEXT_PROPS.PAGE_TITLE, - ], - }, - ); - }} - > - {t('needHelpLinkText')} - , - ])} -
);