ee9f63a161
bugfix wip flow fix cleaning clean
14 lines
434 B
JavaScript
14 lines
434 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectMetadataForUri } from 'redux/selectors/claims';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import ModalFileTimeout from './view';
|
|
|
|
const select = (state, props) => ({
|
|
metadata: makeSelectMetadataForUri(props.uri)(state),
|
|
});
|
|
|
|
const perform = (dispatch) => ({
|
|
closeModal: () => dispatch(doHideModal()),
|
|
});
|
|
|
|
export default connect(select, perform)(ModalFileTimeout);
|