Merge branch 'shortcuts-fix' into 'develop'
Fix hotkeys modal 'link' See merge request soapbox-pub/soapbox-fe!977
This commit is contained in:
commit
e0322916d1
|
@ -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 New Issue