cleanup
This commit is contained in:
parent
6ba1fafaa0
commit
408eb9a347
2 changed files with 1 additions and 33 deletions
|
@ -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';
|
||||
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue