Fix settings modal

This commit is contained in:
Thibaut Girka 2019-04-23 18:19:35 +02:00 committed by ThibG
parent 08afd6b69c
commit 3d722b0c4e

View File

@ -11,7 +11,7 @@ const mapStateToProps = state => {
}; };
const mapDispatchToProps = (dispatch, { intl }) => ({ const mapDispatchToProps = (dispatch, { intl }) => ({
onOpenSettings (e) { onSettingsClick (e) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
dispatch(openModal('SETTINGS', {})); dispatch(openModal('SETTINGS', {}));