mirror of
https://github.com/Readarr/Readarr
synced 2025-12-29 11:47:12 +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);
|