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

15 lines
335 B
JavaScript

import { connect } from 'react-redux';
import { selectFollowedTags } from 'lbry-redux';
import { doToggleTagFollowDesktop } from 'redux/actions/tags';
import Tags from './view';
const select = state => ({
followedTags: selectFollowedTags(state),
});
export default connect(
select,
{
doToggleTagFollowDesktop,
}
)(Tags);