This commit is contained in:
zeppi 2021-12-08 20:11:06 -05:00 committed by jessopb
parent 6ba1fafaa0
commit 408eb9a347
2 changed files with 1 additions and 33 deletions

View file

@ -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';

View file

@ -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({