lbry-desktop/ui/js/component/uriIndicator/index.js
2017-05-02 19:38:14 -04:00

20 lines
404 B
JavaScript

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)