1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/ui/components/app/permissions-connect-footer/permissions-connect-footer.component.js
Erik Marks 8cc185a8b1
Fix permissions-connect-footer "learn more" link (#13092)
"Learn more" should be uppercase.
2021-12-14 10:48:26 -08:00

31 lines
821 B
JavaScript

import PropTypes from 'prop-types';
import React, { Component } from 'react';
export default class PermissionsConnectFooter extends Component {
static contextTypes = {
t: PropTypes.func,
};
render() {
const { t } = this.context;
return (
<div className="permissions-connect-footer">
<div className="permissions-connect-footer__text">
<div>{t('onlyConnectTrust')}</div>
<div
className="permissions-connect-footer__text--link"
onClick={() => {
global.platform.openTab({
url:
'https://metamask.zendesk.com/hc/en-us/articles/4405506066331-User-guide-Dapps',
});
}}
>
{t('learnMoreUpperCase')}
</div>
</div>
</div>
);
}
}