diff --git a/ui/js/page/publish/index.js b/ui/js/page/publish/index.js index abe8137df..cd01864d9 100644 --- a/ui/js/page/publish/index.js +++ b/ui/js/page/publish/index.js @@ -3,6 +3,7 @@ import { connect } from "react-redux"; import { doNavigate, doHistoryBack } from "actions/app"; import { doClaimRewardType } from "actions/rewards"; import { selectMyClaims } from "selectors/claims"; +import { doFetchClaimListMine } from "actions/content"; import rewards from "rewards"; import PublishPage from "./view"; @@ -13,8 +14,8 @@ const select = state => ({ const perform = dispatch => ({ back: () => dispatch(doHistoryBack()), navigate: path => dispatch(doNavigate(path)), - claimFirstChannelReward: () => - dispatch(doClaimRewardType(rewards.TYPE_FIRST_CHANNEL)), + fetchClaimListMine: () => dispatch(doFetchClaimListMine()), + claimFirstChannelReward: () => dispatch(doClaimRewardType(rewards.TYPE_FIRST_CHANNEL)), }); export default connect(select, perform)(PublishPage); diff --git a/ui/js/page/publish/view.jsx b/ui/js/page/publish/view.jsx index bf31a3b5d..5d8fd1916 100644 --- a/ui/js/page/publish/view.jsx +++ b/ui/js/page/publish/view.jsx @@ -411,6 +411,7 @@ class PublishPage extends React.PureComponent { } componentWillMount() { + this.props.fetchClaimListMine(); this._updateChannelList(); }