mirror of https://github.com/lidarr/Lidarr
13 lines
303 B
JavaScript
13 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);
|