1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Fix "Learn more" link on Connected Account notification (#16339)

This commit is contained in:
ryanml 2022-11-01 08:43:10 -07:00 committed by GitHub
parent b744eab176
commit d8372500cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,9 +58,6 @@ import BetaHomeFooter from './beta/beta-home-footer.component';
import FlaskHomeFooter from './flask/flask-home-footer.component';
///: END:ONLY_INCLUDE_IN
const LEARN_MORE_URL =
'https://metamask.zendesk.com/hc/en-us/articles/360045129011-Intro-to-MetaMask-v8-extension';
function shouldCloseNotificationPopup({
isNotification,
totalUnapprovedCount,
@ -526,8 +523,12 @@ export default class Home extends PureComponent {
}}
footer={
<>
<a href={LEARN_MORE_URL} target="_blank" rel="noopener noreferrer">
{t('learnMore')}
<a
href={ZENDESK_URLS.USER_GUIDE_DAPPS}
target="_blank"
rel="noopener noreferrer"
>
{t('learnMoreUpperCase')}
</a>
<Button
type="primary"