11 lines
294 B
JavaScript
11 lines
294 B
JavaScript
|
import React from "react";
|
||
|
import { connect } from "react-redux";
|
||
|
import { selectClaimedRewards } from "selectors/rewards";
|
||
|
import RewardListClaimed from "./view";
|
||
|
|
||
|
const select = state => ({
|
||
|
rewards: selectClaimedRewards(state),
|
||
|
});
|
||
|
|
||
|
export default connect(select, null)(RewardListClaimed);
|