lbry-desktop/ui/component/livestreamList/index.js
infinite-persistence c572891590 Update /$/live to use latest API
1480
2022-05-11 07:57:44 -04:00

15 lines
512 B
JavaScript

import LivestreamList from './view';
import { connect } from 'react-redux';
import { doFetchActiveLivestreams } from 'redux/actions/livestream';
import { selectActiveLivestreams, selectFetchingActiveLivestreams } from 'redux/selectors/livestream';
const select = (state) => ({
activeLivestreams: selectActiveLivestreams(state),
fetchingActiveLivestreams: selectFetchingActiveLivestreams(state),
});
const perform = {
doFetchActiveLivestreams,
};
export default connect(select, perform)(LivestreamList);