lbry-desktop/ui/js/page/rewards/index.js
2017-06-07 12:04:39 -04:00

20 lines
377 B
JavaScript

import React from 'react'
import {
connect,
} from 'react-redux'
import {
selectFetchingRewards,
selectRewards,
} from 'selectors/rewards'
import RewardsPage from './view'
const select = (state) => ({
fetching: selectFetchingRewards(state),
rewards: selectRewards(state),
})
const perform = (dispatch) => ({
})
export default connect(select, perform)(RewardsPage)