diff --git a/src/renderer/page/discover/index.js b/src/renderer/page/discover/index.js index 0d4d8b017..b7015cc01 100644 --- a/src/renderer/page/discover/index.js +++ b/src/renderer/page/discover/index.js @@ -1,6 +1,6 @@ import { connect } from 'react-redux'; import { selectFeaturedUris, selectFetchingFeaturedUris, doFetchFeaturedUris } from 'lbry-redux'; -import { doFetchRewardedContent } from 'lbryinc'; +import { doFetchRewardedContent, doRewardList } from 'lbryinc'; import DiscoverPage from './view'; const select = state => ({ @@ -11,6 +11,7 @@ const select = state => ({ const perform = dispatch => ({ fetchFeaturedUris: () => dispatch(doFetchFeaturedUris()), fetchRewardedContent: () => dispatch(doFetchRewardedContent()), + fetchRewards: () => dispatch(doRewardList()), }); export default connect( diff --git a/src/renderer/page/discover/view.jsx b/src/renderer/page/discover/view.jsx index 0c1e98358..5effe87f3 100644 --- a/src/renderer/page/discover/view.jsx +++ b/src/renderer/page/discover/view.jsx @@ -24,6 +24,7 @@ class DiscoverPage extends React.PureComponent { this.continousFetch = setInterval(() => { fetchFeaturedUris(); fetchRewardedContent(); + fetchRewards(); }, 1000 * 60 * 60); }