bb9a71805b
Rewards and uploaded/downloaded files currently broken
27 lines
648 B
JavaScript
27 lines
648 B
JavaScript
import React from 'react'
|
|
import {
|
|
connect
|
|
} from 'react-redux'
|
|
import {
|
|
selectCurrentUri,
|
|
} from 'selectors/app'
|
|
import {
|
|
selectCurrentResolvedUriClaim,
|
|
selectCurrentUriIsDownloaded,
|
|
selectCurrentUriFileInfo,
|
|
selectCurrentUriCostInfo,
|
|
} from 'selectors/content'
|
|
import ShowPage from './view'
|
|
|
|
const select = (state) => ({
|
|
claim: selectCurrentResolvedUriClaim(state),
|
|
uri: selectCurrentUri(state),
|
|
isDownloaded: selectCurrentUriIsDownloaded(state),
|
|
fileInfo: selectCurrentUriFileInfo(state),
|
|
costInfo: selectCurrentUriCostInfo(state),
|
|
})
|
|
|
|
const perform = (dispatch) => ({
|
|
})
|
|
|
|
export default connect(select, perform)(ShowPage)
|