lbry-desktop/ui/js/component/rewardSummary/index.js
2017-11-13 16:02:23 -05:00

10 lines
318 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import { selectUnclaimedRewardValue } from "redux/selectors/rewards";
import RewardSummary from "./view";
const select = state => ({
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
});
export default connect(select, null)(RewardSummary);