mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix "Learn more" link on Connected Account notification (#16339)
This commit is contained in:
parent
b744eab176
commit
d8372500cf
@ -58,9 +58,6 @@ import BetaHomeFooter from './beta/beta-home-footer.component';
|
|||||||
import FlaskHomeFooter from './flask/flask-home-footer.component';
|
import FlaskHomeFooter from './flask/flask-home-footer.component';
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
|
|
||||||
const LEARN_MORE_URL =
|
|
||||||
'https://metamask.zendesk.com/hc/en-us/articles/360045129011-Intro-to-MetaMask-v8-extension';
|
|
||||||
|
|
||||||
function shouldCloseNotificationPopup({
|
function shouldCloseNotificationPopup({
|
||||||
isNotification,
|
isNotification,
|
||||||
totalUnapprovedCount,
|
totalUnapprovedCount,
|
||||||
@ -526,8 +523,12 @@ export default class Home extends PureComponent {
|
|||||||
}}
|
}}
|
||||||
footer={
|
footer={
|
||||||
<>
|
<>
|
||||||
<a href={LEARN_MORE_URL} target="_blank" rel="noopener noreferrer">
|
<a
|
||||||
{t('learnMore')}
|
href={ZENDESK_URLS.USER_GUIDE_DAPPS}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
{t('learnMoreUpperCase')}
|
||||||
</a>
|
</a>
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user