From 3d722b0c4e14d6d766d2e8814f42c76cfd0f2e2c Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 23 Apr 2019 18:19:35 +0200 Subject: [PATCH] Fix settings modal --- .../glitch/features/compose/containers/header_container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/compose/containers/header_container.js b/app/javascript/flavours/glitch/features/compose/containers/header_container.js index 6f1978807..ce1dea319 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/header_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/header_container.js @@ -11,7 +11,7 @@ const mapStateToProps = state => { }; const mapDispatchToProps = (dispatch, { intl }) => ({ - onOpenSettings (e) { + onSettingsClick (e) { e.preventDefault(); e.stopPropagation(); dispatch(openModal('SETTINGS', {}));