diff --git a/src/renderer/component/userEmailNew/index.js b/src/renderer/component/userEmailNew/index.js index 98cc7bd04..0228a4aaa 100644 --- a/src/renderer/component/userEmailNew/index.js +++ b/src/renderer/component/userEmailNew/index.js @@ -3,15 +3,10 @@ import { connect } from 'react-redux'; import { doUserEmailNew, doUserInviteNew } from 'redux/actions/user'; import { selectEmailNewIsPending, selectEmailNewErrorMessage } from 'redux/selectors/user'; import UserEmailNew from './view'; -import rewards from 'rewards'; -import { makeSelectRewardAmountByType } from 'redux/selectors/rewards'; const select = state => ({ isPending: selectEmailNewIsPending(state), errorMessage: selectEmailNewErrorMessage(state), - rewardAmount: makeSelectRewardAmountByType()(state, { - reward_type: rewards.TYPE_CONFIRM_EMAIL, - }), }); const perform = dispatch => ({ diff --git a/src/renderer/component/userEmailNew/view.jsx b/src/renderer/component/userEmailNew/view.jsx index 05e9a1e2d..661adb611 100644 --- a/src/renderer/component/userEmailNew/view.jsx +++ b/src/renderer/component/userEmailNew/view.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { CreditAmount } from 'component/common'; import { Form, FormRow, Submit } from 'component/form.js'; class UserEmailNew extends React.PureComponent { @@ -23,18 +22,12 @@ class UserEmailNew extends React.PureComponent { } render() { - const { cancelButton, errorMessage, isPending, rewardAmount } = this.props; + const { cancelButton, errorMessage, isPending } = this.props; return (
- Let us know your email and you'll receive{' '}
-
- {__( - "We'll also let you know about LBRY updates, security issues, and great new content." - )} + {__("We'll let you know about LBRY updates, security issues, and great new content.")}
{__("We'll never sell your email, and you can unsubscribe at any time.")}