mirror of
https://github.com/Radarr/Radarr
synced 2026-01-14 11:33:17 +01:00
12 lines
303 B
JavaScript
12 lines
303 B
JavaScript
import { connect } from 'react-redux';
|
|
import ConnectionLostModal from './ConnectionLostModal';
|
|
|
|
function createMapDispatchToProps(dispatch, props) {
|
|
return {
|
|
onModalClose() {
|
|
location.reload();
|
|
}
|
|
};
|
|
}
|
|
|
|
export default connect(undefined, createMapDispatchToProps)(ConnectionLostModal);
|