Removes unused redux actions

This commit is contained in:
Oleg Silkin 2020-01-06 21:19:06 -05:00 committed by Sean Yesmunt
parent e8e3f50cfb
commit 6beaa13a2d

View file

@ -1,24 +1,16 @@
import { connect } from 'react-redux';
import ChannelCreate from './view';
import {
selectBalance,
selectMyChannelClaims,
selectFetchingMyChannels,
doFetchChannelListMine,
doCreateChannel,
} from 'lbry-redux';
import { selectUserVerifiedEmail } from 'lbryinc';
import { selectBalance, doCreateChannel } from 'lbry-redux';
const select = state => ({
channels: selectMyChannelClaims(state),
fetchingChannels: selectFetchingMyChannels(state),
balance: selectBalance(state),
emailVerified: selectUserVerifiedEmail(state),
});
const perform = dispatch => ({
createChannel: (name, amount) => dispatch(doCreateChannel(name, amount)),
fetchChannelListMine: () => dispatch(doFetchChannelListMine()),
});
export default connect(select, perform)(ChannelCreate);
export default connect(
select,
perform
)(ChannelCreate);