lbry-desktop/ui/page/discover/index.js

15 lines
284 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2020-02-26 14:14:10 -05:00
import { selectFollowedTags, doToggleTagFollow } from 'lbry-redux';
import Tags from './view';
2017-04-23 16:56:50 +07:00
2017-06-05 21:21:55 -07:00
const select = state => ({
2019-06-11 14:10:58 -04:00
followedTags: selectFollowedTags(state),
2017-06-05 21:21:55 -07:00
});
2017-04-23 16:56:50 +07:00
export default connect(
select,
2020-02-26 14:14:10 -05:00
{
doToggleTagFollow,
}
)(Tags);