You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
403 B
16 lines
403 B
7 years ago
|
import { connect } from 'react-redux';
|
||
|
import { clearRestoreBackup } from 'Store/Actions/systemActions';
|
||
|
import RestoreBackupModal from './RestoreBackupModal';
|
||
|
|
||
|
function createMapDispatchToProps(dispatch, props) {
|
||
|
return {
|
||
|
onModalClose() {
|
||
|
dispatch(clearRestoreBackup());
|
||
|
|
||
|
props.onModalClose();
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export default connect(null, createMapDispatchToProps)(RestoreBackupModal);
|