11 lines
354 B
JavaScript
11 lines
354 B
JavaScript
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);
|