mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 09:45:10 +00:00
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 { doUpdateChannel, doCreateChannel, doClearChannelErrors } from 'redux/actions/claims';
|
||||||
import { doOpenModal } from 'redux/actions/app';
|
import { doOpenModal } from 'redux/actions/app';
|
||||||
import { doUpdateBlockListForPublishedChannel } from 'redux/actions/comments';
|
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 { selectIsClaimingInitialRewards, selectHasClaimedInitialRewards } from 'redux/selectors/rewards';
|
||||||
import ChannelForm from './view';
|
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() {
|
export function doUserSetReferrerReset() {
|
||||||
return (dispatch) => {
|
return (dispatch) => {
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
Loading…
Add table
Reference in a new issue