Fix hotkeys modal 'link'

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-01-09 16:56:11 +01:00
parent e1475e0ba5
commit 7121201825

View file

@ -27,8 +27,9 @@ const mapStateToProps = state => {
};
const mapDispatchToProps = (dispatch, { intl }) => ({
onOpenHotkeys() {
onOpenHotkeys(e) {
dispatch(openModal('HOTKEYS'));
e.preventDefault();
},
onClickLogOut(e) {
dispatch(logOut(intl));