mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
14 lines
451 B
JavaScript
14 lines
451 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectMetadataItemForUri } from 'lbry-redux';
|
|
import ChannelAbout from './view';
|
|
|
|
const select = (state, props) => ({
|
|
description: makeSelectMetadataItemForUri(props.uri, 'description')(state),
|
|
website: makeSelectMetadataItemForUri(props.uri, 'website_url')(state),
|
|
email: makeSelectMetadataItemForUri(props.uri, 'email')(state),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
null
|
|
)(ChannelAbout);
|