lbry-desktop/ui/js/component/uriIndicator/index.js

21 lines
404 B
JavaScript
Raw Normal View History

2017-05-02 07:25:31 +02:00
import React from 'react'
import {
connect,
} from 'react-redux'
import {
makeSelectClaimForUri,
} from 'selectors/claims'
import UriIndicator from './view'
const makeSelect = () => {
const selectClaimForUri = makeSelectClaimForUri()
const select = (state, props) => ({
claim: selectClaimForUri(state, props),
})
return select
}
export default connect(makeSelect, null)(UriIndicator)