lbry-desktop/ui/component/channelSelector/index.js

10 lines
249 B
JavaScript
Raw Normal View History

2020-03-18 18:11:37 +01:00
import { connect } from 'react-redux';
import SelectChannel from './view';
2020-03-19 15:38:20 +01:00
import { selectMyChannelClaims } from 'lbry-redux';
2020-03-18 18:11:37 +01:00
const select = state => ({
channels: selectMyChannelClaims(state),
});
2020-03-19 15:38:20 +01:00
export default connect(select)(SelectChannel);