fetch rewards on rewards page
This commit is contained in:
parent
2104df6609
commit
04b1dfb279
2 changed files with 8 additions and 2 deletions
|
@ -11,6 +11,7 @@ import UnsupportedOnWeb from 'component/common/unsupported-on-web';
|
|||
|
||||
type Props = {
|
||||
doAuth: () => void,
|
||||
fetchRewards: () => void,
|
||||
fetching: boolean,
|
||||
rewards: Array<Reward>,
|
||||
claimed: Array<Reward>,
|
||||
|
@ -26,6 +27,10 @@ type Props = {
|
|||
};
|
||||
|
||||
class RewardsPage extends PureComponent<Props> {
|
||||
componentDidMount() {
|
||||
this.props.fetchRewards();
|
||||
}
|
||||
|
||||
renderPageHeader() {
|
||||
const { user, daemonSettings } = this.props;
|
||||
|
||||
|
|
|
@ -701,5 +701,6 @@
|
|||
"Max Connections": "Max Connections",
|
||||
"For users with good bandwidth, try a higher value to improve streaming and download speeds. Low bandwidth users may benefit from a lower setting. Default is 4.": "For users with good bandwidth, try a higher value to improve streaming and download speeds. Low bandwidth users may benefit from a lower setting. Default is 4.",
|
||||
"This will clear the application cache. Your wallet will not be affected. Currently, followed tags and blocked channels will be cleared.": "This will clear the application cache. Your wallet will not be affected. Currently, followed tags and blocked channels will be cleared.",
|
||||
"Show All": "Show All"
|
||||
}
|
||||
"Show All": "Show All",
|
||||
"Get ??? LBC": "Get ??? LBC"
|
||||
}
|
Loading…
Add table
Reference in a new issue