Fix settings modal

This commit is contained in:
Thibaut Girka 2019-04-23 18:19:35 +02:00 committed by ThibG
parent 2d2eca5bda
commit 86108e7af7

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', {}));