From 408eb9a34773a8734b8e9c74273b3742b0d3e2ab Mon Sep 17 00:00:00 2001 From: zeppi Date: Wed, 8 Dec 2021 20:11:06 -0500 Subject: [PATCH] cleanup --- ui/component/channelForm/index.js | 2 +- ui/redux/actions/user.js | 32 ------------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/ui/component/channelForm/index.js b/ui/component/channelForm/index.js index ae2f83119..43e054f7e 100644 --- a/ui/component/channelForm/index.js +++ b/ui/component/channelForm/index.js @@ -15,7 +15,7 @@ import { selectBalance } from 'redux/selectors/wallet'; import { doUpdateChannel, doCreateChannel, doClearChannelErrors } from 'redux/actions/claims'; import { doOpenModal } from 'redux/actions/app'; import { doUpdateBlockListForPublishedChannel } from 'redux/actions/comments'; -import { doClaimInitialRewards } from 'redux/actions/rewards'; // why +import { doClaimInitialRewards } from 'redux/actions/rewards'; import { selectIsClaimingInitialRewards, selectHasClaimedInitialRewards } from 'redux/selectors/rewards'; import ChannelForm from './view'; diff --git a/ui/redux/actions/user.js b/ui/redux/actions/user.js index df9c1ff3d..701c36e5a 100644 --- a/ui/redux/actions/user.js +++ b/ui/redux/actions/user.js @@ -640,38 +640,6 @@ export function doUserIdentityVerify(stripeToken) { }; } -// rid of this -// export function doUserInviteNew(email) { -// return (dispatch) => { -// dispatch({ -// type: ACTIONS.USER_INVITE_NEW_STARTED, -// }); -// -// return Lbryio.call('user', 'invite', { email }, 'post') -// .then((success) => { -// dispatch({ -// type: ACTIONS.USER_INVITE_NEW_SUCCESS, -// data: { email }, -// }); -// -// dispatch( -// doToast({ -// message: __('Invite sent to %email_address%', { email_address: email }), -// }) -// ); -// -// dispatch(doFetchInviteStatus()); -// return success; -// }) -// .catch((error) => { -// dispatch({ -// type: ACTIONS.USER_INVITE_NEW_FAILURE, -// data: { error }, -// }); -// }); -// }; -// } - export function doUserSetReferrerReset() { return (dispatch) => { dispatch({