2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-03-10 00:46:37 +01:00
|
|
|
import { selectFollowedTags } from 'lbry-redux';
|
|
|
|
import { doToggleTagFollowDesktop } from 'redux/actions/tags';
|
2020-02-26 20:14:10 +01:00
|
|
|
import Tags from './view';
|
2017-04-23 11:56:50 +02:00
|
|
|
|
2017-06-06 06:21:55 +02:00
|
|
|
const select = state => ({
|
2019-06-11 20:10:58 +02:00
|
|
|
followedTags: selectFollowedTags(state),
|
2017-06-06 06:21:55 +02:00
|
|
|
});
|
2017-04-23 11:56:50 +02:00
|
|
|
|
2018-08-28 22:46:50 +02:00
|
|
|
export default connect(
|
|
|
|
select,
|
2020-02-26 20:14:10 +01:00
|
|
|
{
|
2020-03-10 00:46:37 +01:00
|
|
|
doToggleTagFollowDesktop,
|
2020-02-26 20:14:10 +01:00
|
|
|
}
|
|
|
|
)(Tags);
|