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

12 lines
354 B
JavaScript
Raw Normal View History

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