8 lines
266 B
JavaScript
8 lines
266 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectDateForUri } from 'lbry-redux';
|
|
import DateTime from './view';
|
|
|
|
const select = (state, props) => ({
|
|
date: props.date || makeSelectDateForUri(props.uri)(state),
|
|
});
|
|
export default connect(select)(DateTime);
|