14 lines
284 B
JavaScript
14 lines
284 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectFollowedTags, doToggleTagFollow } from 'lbry-redux';
|
|
import Tags from './view';
|
|
|
|
const select = state => ({
|
|
followedTags: selectFollowedTags(state),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
{
|
|
doToggleTagFollow,
|
|
}
|
|
)(Tags);
|