mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-30 04:05:41 +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);
|