lbry-desktop/ui/js/component/rewardSummary/index.js

11 lines
318 B
JavaScript
Raw Normal View History

2017-08-20 23:42:00 +02:00
import React from "react";
import { connect } from "react-redux";
2017-11-13 22:02:23 +01:00
import { selectUnclaimedRewardValue } from "redux/selectors/rewards";
2017-08-20 23:42:00 +02:00
import RewardSummary from "./view";
const select = state => ({
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
});
export default connect(select, null)(RewardSummary);