Merge branch 'shortcuts-fix' into 'develop'

Fix hotkeys modal 'link'

See merge request soapbox-pub/soapbox-fe!977
This commit is contained in:
marcin mikołajczak 2022-01-09 16:15:51 +00:00
commit e0322916d1
1 changed files with 2 additions and 1 deletions

View File

@ -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));