lbry-desktop/ui/js/page/publish/index.js

22 lines
404 B
JavaScript
Raw Normal View History

2017-05-02 10:21:00 +02:00
import React from 'react'
import {
connect,
} from 'react-redux'
import {
doNavigate,
} from 'actions/app'
import {
selectMyClaims
} from 'selectors/claims'
2017-05-02 10:21:00 +02:00
import PublishPage from './view'
const select = (state) => ({
myClaims: selectMyClaims(state)
2017-05-02 10:21:00 +02:00
})
const perform = (dispatch) => ({
navigate: (path) => dispatch(doNavigate(path)),
})
export default connect(select, perform)(PublishPage)