lbry-desktop/ui/js/component/rewardSummary/index.js
2017-08-30 13:57:42 -04:00

10 lines
312 B
JavaScript

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