Fix hotkeys modal 'link'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
e1475e0ba5
commit
7121201825
1 changed files with 2 additions and 1 deletions
|
@ -27,8 +27,9 @@ const mapStateToProps = state => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const mapDispatchToProps = (dispatch, { intl }) => ({
|
const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||||
onOpenHotkeys() {
|
onOpenHotkeys(e) {
|
||||||
dispatch(openModal('HOTKEYS'));
|
dispatch(openModal('HOTKEYS'));
|
||||||
|
e.preventDefault();
|
||||||
},
|
},
|
||||||
onClickLogOut(e) {
|
onClickLogOut(e) {
|
||||||
dispatch(logOut(intl));
|
dispatch(logOut(intl));
|
||||||
|
|
Loading…
Reference in a new issue